commit 320c33f97c6a1b33e5a4ba2cb8b92bd8e6879c52 Author: shp Date: Sat Feb 1 14:43:56 2014 +0200 bat-файлы для сборки dev/prod конфигураций sass, для конфигурации prod используется более экономичный стиль css, убран лишний коммент в config.rb diff --git a/config.rb b/config.rb index 6337272..a8dfac9 100644 --- a/config.rb +++ b/config.rb @@ -2,12 +2,6 @@ ## This file is only needed for Compass/Sass integration. If you are not using ## Compass, you may safely ignore or delete this file. ## -## If you'd like to learn more about Sass and Compass, see the sass/README.txt -## file for more information. -## - -# Change this to :production when ready to deploy the CSS to the live server. -environment = :development # Location of the theme's resources. css_dir = "css" @@ -28,7 +22,7 @@ require 'compass-normalize' # You can select your preferred output style here (:expanded, :nested, :compact # or :compressed). -output_style = (environment == :development) ? :expanded : :expanded +output_style = (environment == :development) ? :expanded : :compressed # To enable relative paths to assets via compass helper functions. Since Drupal # themes can be installed in multiple locations, we don't need to worry about diff --git a/sass_compile_dev.cmd b/sass_compile_dev.cmd new file mode 100644 index 0000000..97f79c8 --- /dev/null +++ b/sass_compile_dev.cmd @@ -0,0 +1 @@ +cmd /k compass compile -e development --force diff --git a/sass_compile_production.cmd b/sass_compile_production.cmd new file mode 100644 index 0000000..a610c2b --- /dev/null +++ b/sass_compile_production.cmd @@ -0,0 +1 @@ +cmd /k compass compile -e production --force