mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: only stamp build builds in release mode (#14431)
* No longer runs the `workspace_status_command` for normal Bazel builds. This should speed up builds by about ~8 seconds init phase.
This commit is contained in:
committed by
vivian-hu
parent
cefff178ec
commit
b93ef47b61
@@ -33,9 +33,14 @@ test --test_output=errors
|
||||
build --experimental_ui
|
||||
test --experimental_ui
|
||||
|
||||
#################################
|
||||
# Release configuration. #
|
||||
# Run with "--config=release" #
|
||||
#################################
|
||||
|
||||
# Configures script to do version stamping.
|
||||
# See https://docs.bazel.build/versions/master/user-manual.html#flag--workspace_status_command
|
||||
build --workspace_status_command=./tools/bazel-stamp-vars.sh
|
||||
build:release --workspace_status_command=./tools/bazel-stamp-vars.sh
|
||||
|
||||
###############################
|
||||
# Typescript / Angular / Sass #
|
||||
|
||||
Reference in New Issue
Block a user