build: run closure-compiler (#3789)

* build: run closure-compiler

* Adds a script that runs the closure-compiler against the devapp / demo-app.
* The script will run on the CI as a new mode. Ensuring that all our components are closure-compatible.

Fixes #1206.

* Address feedback
This commit is contained in:
Paul Gschwendtner
2017-03-29 20:13:19 +02:00
committed by tinayuangao
parent d7d2b16fa0
commit 51cfb5f75f
6 changed files with 118 additions and 1 deletions
+4
View File
@@ -13,6 +13,10 @@ is_aot() {
[[ "$MODE" = aot ]]
}
is_closure_compiler() {
[[ "$MODE" = closure-compiler ]]
}
is_payload() {
[[ "$MODE" = payload ]]
}