Commits

Dmitri Lebedev committed 604e0a7

Backed out changeset: c358481d41c5

  • Participants
  • Parent commits 83865b3

Comments (0)

Files changed (1)

File buildout.cfg

 	cleanup
 	sass
 	yuic
+	unzip_yuic
 
 versions = versions
 project = project
 [coffee]
 recipe = gp.recipe.node
 npms =
-	coffee-script
+    coffee-script
 scripts =
 	coffee
 	npm
 
 
 [yuic]
-# YUI compressor for CSS & JS files. Set COMPRESS_ENABLED = True in settings.py to turn it on
-recipe = zc.recipe.egg
-eggs = yuicompressor
+# downloads the yui compressor
+version = 2.4.7
+recipe = hexagonit.recipe.download
+md5sum = 885657c68ed617737e730b4c2ce52dda
+url = http://yui.zenfs.com/releases/yuicompressor/yuicompressor-${yuic:version}.zip
+download-only = true
+
+
+[unzip_yuic]
+# unpacks yui compressor jar file
+recipe = collective.recipe.cmd
+on_install = true
+on_update = true
+zipname = ${buildout:directory}/parts/yuic/yuicompressor-${yuic:version}.zip
+jarname = yuicompressor-${yuic:version}/build/yuicompressor-${yuic:version}.jar
+cmds =
+	unzip -jo ${unzip_yuic:zipname} ${unzip_yuic:jarname} -d ${buildout:directory}/parts/yuic