You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
common --experimental_enable_bzlmod
|
|
|
|
|
|
|
|
# Disable lockfiles until it works properly.
|
|
|
|
# https://github.com/bazelbuild/bazel/issues/19068
|
|
|
|
common --lockfile_mode=off
|
|
|
|
|
|
|
|
###############################
|
|
|
|
# Directory structure #
|
|
|
|
###############################
|
|
|
|
|
|
|
|
# Artifacts are typically placed in a directory called "dist"
|
|
|
|
# Be aware that this setup will still create a bazel-out symlink in
|
|
|
|
# your project directory, which you must exclude from version control and your
|
|
|
|
# editor's search path.
|
|
|
|
build --symlink_prefix=dist/
|
|
|
|
|
|
|
|
###############################
|
|
|
|
# Stamping #
|
|
|
|
###############################
|
|
|
|
# Enable this with --config=release
|
|
|
|
build:release --stamp --workspace_status_command=./tools/git-desc.sh
|
|
|
|
|
|
|
|
###############################
|
|
|
|
# Output #
|
|
|
|
###############################
|
|
|
|
|
|
|
|
# A more useful default output mode for bazel query, which
|
|
|
|
# prints "ng_module rule //foo:bar" instead of just "//foo:bar".
|
|
|
|
query --output=label_kind
|
|
|
|
|
|
|
|
# By default, failing tests don't print any output, it's logged to a
|
|
|
|
# file instead.
|
|
|
|
test --test_output=errors
|