문제

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.

도움이 되었습니까?

해결책

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

다른 팁

Just a tip:

For windows os you can add below

css_path="C:/ui/myproject/css"
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top