mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
51cfb5f75f
* 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
22 lines
273 B
Bash
22 lines
273 B
Bash
#!/usr/bin/env bash
|
|
source ./scripts/ci/sources/tunnel.sh
|
|
|
|
is_e2e() {
|
|
[[ "$MODE" = e2e ]]
|
|
}
|
|
|
|
is_lint() {
|
|
[[ "$MODE" = lint ]]
|
|
}
|
|
|
|
is_aot() {
|
|
[[ "$MODE" = aot ]]
|
|
}
|
|
|
|
is_closure_compiler() {
|
|
[[ "$MODE" = closure-compiler ]]
|
|
}
|
|
|
|
is_payload() {
|
|
[[ "$MODE" = payload ]]
|
|
} |