Compile scss and coffee for 2.0#307
Compile scss and coffee for 2.0#307paulsponagl wants to merge 2 commits intolocomotivecms:2.0.0.rcfrom
Conversation
|
i forgot to mention that the cucumber tests had errors - to me that seemed unrelated to the changes within this pull request so i simply ignored them :) Update: did, now that you fixed the features i was able to track down a bug too / cucumber tests are running with this pull too now... |
|
It would also be nice to enable compass usage in the scss. compass is there anyway, as it is required by locomotive itself. |
|
use: config.sass_process_options = { :load_paths => [File.join(Compass.base_directory, 'frameworks','compass','stylesheets')]}; within Locomotive.configure and e.g. @import "compass/css3/box-shadow"; /* globals */ will work Best PS: Did is willing to merge this with a few modifications - you may wait for this if you want to ... |
|
Sorry Paul about the delay in getting back to you. We'll look at including this for the 2.1 release, we aren't adding any new features for 2.0 at the moment, just concentrating on bugfixes. |
|
closing this - changed the way assets are compiled. |
with this pull one is able to use Sass(scss) Syntax for css and Coffeescript Syntax for js within the backend.
as you see within the code i added this feature within carrierwave (version :compile)
two locomotive configuration options are provided: sass_process_options and coffeescript_process_options
rspec test is included.
@imports within scss will work only when using file storage (for now).