2023-02-17 22:34:06 +00:00
|
|
|
|
# Import Aspect bazelrc presets
|
2024-05-14 04:28:28 +00:00
|
|
|
|
try-import %workspace%/.aspect/bazelrc/local/bazel7.bazelrc
|
2023-02-17 00:59:21 +00:00
|
|
|
|
import %workspace%/.aspect/bazelrc/convenience.bazelrc
|
|
|
|
|
import %workspace%/.aspect/bazelrc/correctness.bazelrc
|
|
|
|
|
import %workspace%/.aspect/bazelrc/debug.bazelrc
|
|
|
|
|
import %workspace%/.aspect/bazelrc/javascript.bazelrc
|
2024-05-14 04:28:28 +00:00
|
|
|
|
import %workspace%/.aspect/bazelrc/performance.bazelrc
|
2023-02-17 00:59:21 +00:00
|
|
|
|
|
2024-05-14 04:28:28 +00:00
|
|
|
|
### YOUR PROJECT SPECIFIC OPTIONS GO HERE ###
|
2023-02-17 22:34:06 +00:00
|
|
|
|
|
2022-08-22 17:59:38 +00:00
|
|
|
|
# For testing our --stamp behavior.
|
|
|
|
|
# Normally users would use a --workspace_status_command with a script that calls `git describe`.
|
2024-06-07 18:49:45 +00:00
|
|
|
|
common --embed_label=v1.2.3
|
2024-05-14 06:51:10 +00:00
|
|
|
|
|
2023-05-16 23:14:50 +00:00
|
|
|
|
# Mock versioning command to test the --stamp behavior
|
2024-06-07 18:49:45 +00:00
|
|
|
|
common --workspace_status_command="echo BUILD_SCM_VERSION 1.2.3"
|
2022-08-22 17:59:38 +00:00
|
|
|
|
|
2024-05-23 23:08:35 +00:00
|
|
|
|
# For releasing, use --workspace_status_command and stamp
|
|
|
|
|
# before adding more flags to the release config make sure it does not
|
|
|
|
|
# affect the hashes of /tools. See tools/release.bzl for opt transition
|
|
|
|
|
# add appropriate commandline transition there to match the configuration.
|
|
|
|
|
common:release -c opt
|
2023-01-03 20:26:51 +00:00
|
|
|
|
|
2024-06-07 18:49:45 +00:00
|
|
|
|
# Don’t want to push a rules author to update their deps if not needed.
|
|
|
|
|
# https://bazel.build/reference/command-line-reference#flag--check_direct_dependencies
|
|
|
|
|
# https://bazelbuild.slack.com/archives/C014RARENH0/p1691158021917459?thread_ts=1691156601.420349&cid=C014RARENH0
|
|
|
|
|
common --check_direct_dependencies=off
|
|
|
|
|
|
2023-02-17 00:59:21 +00:00
|
|
|
|
# Load any settings & overrides specific to the current user from `.aspect/bazelrc/user.bazelrc`.
|
|
|
|
|
# This file should appear in `.gitignore` so that settings are not shared with team members. This
|
|
|
|
|
# should be last statement in this config so the user configuration is able to overwrite flags from
|
|
|
|
|
# this file. See https://bazel.build/configure/best-practices#bazelrc-file.
|
|
|
|
|
try-import %workspace%/.aspect/bazelrc/user.bazelrc
|