forked from ngrx/platform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bazelrc
27 lines (21 loc) · 996 Bytes
/
.bazelrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Make TypeScript and Angular compilation fast, by keeping a few copies of the
# compiler running as daemons, and cache SourceFile AST's to reduce parse time.
build --strategy=TypeScriptCompile=worker
build --strategy=AngularTemplateCompile=worker
# Don't create bazel-* symlinks in the WORKSPACE directory.
# These require .gitignore and may scare users.
# Also, it's a workaround for https://github.com/bazelbuild/rules_typescript/issues/12
# which affects the common case of having `tsconfig.json` in the WORKSPACE directory.
#
# Instead, you should run `bazel info bazel-bin` to find out where the outputs went.
build --symlink_prefix=dist/
###############################
# Release support #
###############################
build --workspace_status_command=./tools/bazel_stamp_vars.sh
test --test_output=errors
# Use the Angular 6 compiler
build --define=compile=legacy
# Turn off legacy external runfiles
run --nolegacy_external_runfiles
test --nolegacy_external_runfiles