Wraps Google Closure Compiler for AngularJS-specific compile passes
ng-closure-runner is a lightweight runner around the
Google Closure Compiler. For
a complete description of how Closure Compiler works, refer to the
source code and
javadoc. Refer
to src/org/angularjs/closurerunner/MinerrPass.java
as an example of how to
write a custom compiler pass.
We use Gradle to build. You'll need a current JDK (version 1.6 or higher). To compile and run the tests:
$ gradle check
Submissions should include corresponding tests.
Releases should be handled by the core Angular team.
To create a new release:
- Run
gradle distZip
. - Commit the updated file in
assets/ng-closure-runner.zip
- Create a tag pointing to the commit.
- In Angular, update the reference in
bower.json
to use the new tag. - That's it! You're done.