3

I'm using compass 0.10.4

I'm running a compass command and I want it to put it's output to the server when I run a watch instead of to the project directory.

Is there any way of specifying an absolute path instead of a path relative to the directory you want the css output to?

I'm trying to have my compiled css output to the directory:

/home/leeand00/leeand00.com/wp-content/themes/coffeeSunrise

but instead it is being output to

<compass-project-dir>/home/leeand00/leeand00.com/wp-content/themes/
coffeeSunrise

I've tried specifying the compiled css output directory using --css- dir on the command line.

I've also tried changing the value of css_dir to

/home/leeand00/leeand00.com/wp-content/wp-content/themes/coffeeSunrise

in config.rb and not specifying the --css-dir argument and I get the same result.

I realize that this can be specified using ../../../ (as many times as needed) but since I don't always know where my deployment point would be this is sub optimal.

OldTroll
  • 773
  • 6
  • 22
leeand00
  • 25,510
  • 39
  • 140
  • 297

2 Answers2

3

Chris added this functionality to the latest build, but until the new version is released, you have to compile it yourself.

leeand00
  • 25,510
  • 39
  • 140
  • 297
2

Just a tip:

For windows os you can add below

css_path="C:/ui/myproject/css"
Alireza Fattahi
  • 42,517
  • 14
  • 123
  • 173