Should -css-dir always belong to the project directory?

I am using compass 0.10.4

I run the compass command and I want it to output it to the server when I run the clock instead of the project directory.

Is there a way to specify an absolute path instead of the path relative to the directory you want to get css to?

I am trying to pass my compiled css output to a directory:

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

but instead it is displayed on

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

I tried to specify the compiled css output directory using -css- dir on the command line.

I also tried changing the css_dir value to

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

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

I understand that this can be indicated using ../../../ (as many times as necessary), but since I do not always know where my deployment point is, it is sub optimal.

+3
2

, , .

+3

:

os

css_path="C:/ui/myproject/css"
+2

Source: https://habr.com/ru/post/1761526/


All Articles