Files
angular__angular/scripts/ci/sources/mode.sh
T
Paul Gschwendtner 3ca3e39d59 build: update dgeni-packages version (#13772)
* Updates to the latest `dgeni-packages` version that includes: https://github.com/angular/dgeni-packages/commit/5d90fd9f31541f380a62a52fd31493b232b9585c. This allows us to remove a workaround.
* Removes the closure testing stuff that hasn't been used for months. In case we want to reintroduce testing w/ Google Closure, we should consider using Bazel or something (AFAIK there are Bazel rules for closure)
2018-10-23 12:00:11 -07:00

27 lines
329 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_payload() {
[[ "${MODE}" = payload ]]
}
is_unit() {
[[ "${MODE}" =~ ^.*_(optional|required)$ ]]
}
is_prerender() {
[[ "$MODE" = prerender ]]
}