I am working on a deployment process for an HTML5 application. I use compass and SCSS for styling, and I have config.rb in the root directory of my project to configure the compass. I have an app.scss file that contains several imported files to import other files in the correct order.
@import "definitions"; @import "common"; // global stuff @import "modal"; // tabs @import "login"; @import "summary"; @import "profile"; // etc.....
It seems that I cannot specify this app.scss file in config.rb, it only has sass_dir , which makes the compass try and compile each file. This is interrupted because, for example, login.scss does not import definitions. Scss and breaks if a variable is specified from it. app.scss should be the only file compiled, since only he knows about all the other files
Is it possible? Also, I cannot specify command line arguments, because ultimately all this will be done through grunt and the grunt-compass plugin, so I need everything to be in config.rb
source share