Skip to main content

A buildout recipe to compile javascript with the Google Closure Compiler

Project description

Minimal buildout config example:

[buildout] parts = jsbuild

[jsbuild] recipe = c2c.recipe.closurecompile compiler = ${closure-compile:destination}/compiler.jar level = SIMPLE_OPTIMIZATIONS input = foo/bar.js output = foo/bar.min.js

[closure-compile] recipe = hexagonit.recipe.download url = http://closure-compiler.googlecode.com/files/compiler-latest.zip

The default ‘level’ is WHITESPACE_ONLY. If ‘output’ is not specified, the minified version is written into ‘input’.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

c2c.recipe.closurecompile-0.1.tar.gz (2.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page