Commits

Tim Molendijk  committed 167511e

Switched CSS compilation from plain Sass to Compass

  • Participants
  • Parent commits f615efe

Comments (0)

Files changed (1)

 apache2-control = /usr/sbin/apache2ctl
 overlay-cp-cmd = cp -a
 link-safely-cmd = ln -sn
-sass-cmd =
+compass-cmd =
 
 [buildout]
 unzip = true
 	put-jquery.app-layer
 	put-jal
 	concat-js
-	sass-css
+	compile-css
 	convert-css
 	parse-sites-fixture
 	syncdb
 path = ${config:assets-path}
 createpath = true
 
+# TODO: Remove
 [clevercss]
 recipe = zc.recipe.egg:develop
 setup = ${clevercss.pkg:location}
 
+# TODO: Remove
 [clevercss.pkg]
 recipe = MercurialRecipe
 repository = http://bitbucket.org/tawm/clevercss/
 
+# TODO: Remove
 [clevercss.scripts]
 recipe = zc.recipe.egg:scripts
 eggs = CleverCSS
 on_update = true
 cmds = cat ${assets:path}/smartpr/js/* ${assets:path}/all.js
 
-[sass-css]
+[compile-css]
 recipe = iw.recipe.cmd
 on_install = true
 on_update = true
-cmds = ${config:sass-cmd} --update -t compressed ${assets:path}/smartpr/css:${assets:path}
+cmds = ${config:compass-cmd} compile ${assets:path} -s compressed --sass-dir smartpr/css --css-dir . --images-dir smartpr/img --javascripts-dir .
 
 # TODO: Remove
 [convert-css]