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 details)

Uploaded Source

File details

Details for the file c2c.recipe.closurecompile-0.1.tar.gz.

File metadata

File hashes

Hashes for c2c.recipe.closurecompile-0.1.tar.gz
Algorithm Hash digest
SHA256 4b4e6535f65f216e8fa57cd71897c1c7210b57d522e4473deb28e4b68d4f8dcb
MD5 a9b515c3d27510ad9f946a6590832812
BLAKE2b-256 ab0657fc60fe92d69a473193b9655429275e0436b6e48176cd62ba909996bf28

See more details on using hashes here.

Provenance

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