Skip to content

Provide bazelrc preset definition #84

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 24, 2025
Merged

Conversation

hofbi
Copy link
Contributor

@hofbi hofbi commented Jul 24, 2025

bazel-contrib/bazelrc-preset.bzl#62 introduced the new extra_presets attribute. Now this project can define its relevant presets in a compatible datastructure so that it can be included in the bazelrc presets.

Another benefit: In case the presets of this project change and users update to a more recent version, the diff test of bazelrc_preset will fail and make them aware of the changes. Else they might miss them unless they review the release notes or README again.

@hofbi
Copy link
Contributor Author

hofbi commented Jul 24, 2025

Maybe we want to include https://registry.bazel.build/modules/bazelrc-preset.bzl as dev dependency to validate that the flags.bzl work

@alexeagle alexeagle merged commit 4ef6589 into aspect-build:main Jul 24, 2025
10 checks passed
@hofbi hofbi deleted the add-presets branch July 24, 2025 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants