mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
31 lines
393 B
Bash
31 lines
393 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 ]]
|
|
}
|
|
|
|
is_unit() {
|
|
[[ "${MODE}" =~ ^.*_(optional|required)$ ]]
|
|
}
|
|
|
|
is_prerender() {
|
|
[[ "$MODE" = prerender ]]
|
|
}
|