Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (38 sloc) 1.48 KB
[buildout]
extensions = buildout.bootstrap
relative-paths = true
parts = web_publisher
dottedish-patches
# minify-js
# minify-css
[web_publisher]
recipe = zc.recipe.egg
eggs = CherryPy == 3.2.0
Mako == 0.4.1
formish == 0.9.1
dottedish == 0.6
convertish == 0.6dev
schemaish == 0.5.6
validatish == 0.6.4
extra-paths = ${buildout:directory}
interpreter = web_publisher-shell
entry-points = web_publisher=server:main
[dottedish-patches]
# Patch comming from the upstream version of dottedish 0.6.1, that is not released on PyPi yet.
# More info on this bug: https://github.com/ish/dottedish/pull/1
recipe = collective.recipe.patch
egg = dottedish == 0.6
patches = dottedish-unordered-unflattening-fix.patch
[minify-js]
recipe = collective.recipe.cmd
on_install = true
on_update = true
cmds = rm -f ./static/compiled.js
python ./closure_compiler.py `find ./static -iname '*.js'` > ./static/compiled.js
[minify-css]
recipe = collective.recipe.cmd
on_install = true
on_update = true
cmds = rm -f ./static/compiled.css
cat `find ./static -iname '*.css'` | yui-compressor -v --type css
# cat `find ./static -iname '*.css'` | csstidy - --compress_font-weight=false --preserve_css=true --remove_bslash=false --remove_last_\;=true --template=highest ./static/compiled.css