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
File details
Details for the file c2c.recipe.closurecompile-0.1.tar.gz
.
File metadata
- Download URL: c2c.recipe.closurecompile-0.1.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b4e6535f65f216e8fa57cd71897c1c7210b57d522e4473deb28e4b68d4f8dcb |
|
MD5 | a9b515c3d27510ad9f946a6590832812 |
|
BLAKE2b-256 | ab0657fc60fe92d69a473193b9655429275e0436b6e48176cd62ba909996bf28 |