I want to add Compass to my existing project.
I want to maintain my current project structure, which looks like this (simplified):
app/
build/
|-compass/
assets/
|-css/
|-scss
|-js/
|-img/
So I want all my SASS files under assetscssscss and I want to output the compiled CSS files to assetscss.
Running:
compass create --bare --sass-dir "assetscssscss" --css-dir "assetscss"
creates the Compass config.rb file directly under my root.
However, I want the file to be under uildcompass.
- How can I control where Compass creates the config.rb file?
- Compass documentation says that declarations in config.rb (e.g. css_dir, sass_dir, etc.) are all relative to the project_path. Where do I define the project_path?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…