Can I configure Compass to output the CSS on a different drive?

35 views
Skip to first unread message

hex

unread,
Nov 11, 2009, 5:47:45 AM11/11/09
to Compass
Let's say that I have a Compass project on D:\Compass (this is where I
keep my sources) and I want to output my generated stylesheets on E:
\CSS, is that possible in any way? I tried changing the --css-dir but
it won't work because it has to be relative to the project dir? Has
anyone tried this before?

Chris Eppstein

unread,
Nov 12, 2009, 2:53:03 PM11/12/09
to compas...@googlegroups.com
This is not supported and probably never will be. Compass is a project management tool and I can't imagine a project management use case that requires using two drives.

It sounds like you're trying to use compass to as a deployment tool for your local webserver. If this is the case, you should think about how to configure your webserver to pick up your development files where you work on them.

chris



--

You received this message because you are subscribed to the Google Groups "Compass" group.
To post to this group, send email to compas...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/compass-users?hl=.



hex

unread,
Nov 19, 2009, 10:00:06 AM11/19/09
to Compass
Yes, I am using a VM with Linux and the filesystem is mapped into a
network drive, and what I wanted to do was to keep my *.sass file into
my Windows working directory, and to compile them onto the network
drive which is versioned by git, so I would want to keep my *.sass
files away from versioning.

Andrew Vit

unread,
Nov 19, 2009, 11:40:07 AM11/19/09
to compas...@googlegroups.com
On Nov 19, 2009, at 7:00 AM, hex wrote:

> Yes, I am using a VM with Linux and the filesystem is mapped into a
> network drive, and what I wanted to do was to keep my *.sass file into
> my Windows working directory, and to compile them onto the network
> drive which is versioned by git, so I would want to keep my *.sass
> files away from versioning.

Interesting, I approach it the other way around: I make sure to check in my Sass files into version control, but I don’t care about keeping the generated CSS.

I can’t think of any good reason to keep the Sass outside the project. It’s working code. The CSS output is just an artifact.

Andrew Vit

hex

unread,
Nov 19, 2009, 4:42:35 PM11/19/09
to Compass
Because I work with different branches(git) and I want want that my
css files to be the same in every branch.

Chris Eppstein

unread,
Nov 19, 2009, 5:57:30 PM11/19/09
to compas...@googlegroups.com
Andrew is right about the normal usage -- it seems you're off the "golden path" of software development. Maybe you have very unique requirements, but the more likely case is that you're doing it wrong. (Please don't take offense -- I'm always very happy when people point out the err of my ways). In any respect, you've not yet made a compelling argument for why compass should change.

chris

Reply all
Reply to author
Forward
0 new messages