Skip to content

Commit 217416b

Browse files
authored
chore: migrate aspect_bazel_lib bazelrc to bazelrc-preset.bzl (#178)
### Changes are visible to end-users: no ### Test plan - Covered by existing test cases
1 parent e2c2f99 commit 217416b

20 files changed

Lines changed: 261 additions & 327 deletions

File tree

.aspect/bazelrc/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.aspect/bazelrc/BUILD.bazel

Lines changed: 0 additions & 15 deletions
This file was deleted.

.aspect/bazelrc/bazel7.bazelrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.aspect/bazelrc/ci.bazelrc

Lines changed: 0 additions & 66 deletions
This file was deleted.

.aspect/bazelrc/convenience.bazelrc

Lines changed: 0 additions & 28 deletions
This file was deleted.

.aspect/bazelrc/correctness.bazelrc

Lines changed: 0 additions & 75 deletions
This file was deleted.

.aspect/bazelrc/debug.bazelrc

Lines changed: 0 additions & 19 deletions
This file was deleted.

.aspect/bazelrc/javascript.bazelrc

Lines changed: 0 additions & 11 deletions
This file was deleted.

.aspect/bazelrc/performance.bazelrc

Lines changed: 0 additions & 20 deletions
This file was deleted.

.bazelrc

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,16 @@
1-
# Import Aspect bazelrc presets
2-
try-import %workspace%/.aspect/bazelrc/bazel7.bazelrc
3-
import %workspace%/.aspect/bazelrc/convenience.bazelrc
4-
import %workspace%/.aspect/bazelrc/correctness.bazelrc
5-
import %workspace%/.aspect/bazelrc/debug.bazelrc
6-
import %workspace%/.aspect/bazelrc/javascript.bazelrc
7-
import %workspace%/.aspect/bazelrc/performance.bazelrc
1+
import %workspace%/tools/preset.bazelrc
82

93
### YOUR PROJECT SPECIFIC OPTIONS GO HERE ###
104

5+
common --config=ruleset
6+
117
# Don’t want to push a rules author to update their deps if not needed.
128
# https://bazel.build/reference/command-line-reference#flag--check_direct_dependencies
139
# https://bazelbuild.slack.com/archives/C014RARENH0/p1691158021917459?thread_ts=1691156601.420349&cid=C014RARENH0
1410
common --check_direct_dependencies=off
1511

16-
# Load any settings & overrides specific to the current user from `.aspect/bazelrc/user.bazelrc`.
12+
# Load any settings & overrides specific to the current user.
1713
# This file should appear in `.gitignore` so that settings are not shared with team members. This
1814
# should be last statement in this config so the user configuration is able to overwrite flags from
1915
# this file. See https://bazel.build/configure/best-practices#bazelrc-file.
20-
try-import %workspace%/.aspect/bazelrc/user.bazelrc
16+
try-import %workspace%/user.bazelrc

0 commit comments

Comments
 (0)