2
0
Fork 0
mirror of https://github.com/bazel-contrib/bazel-lib synced 2024-12-03 11:52:43 +00:00
bazel-lib/docs/bazelrc_presets.md
Alex Eagle 1b4d9a7f04
feat(presets): java bazelrc options (#947)
* feat(presets): java bazelrc options

* chore: improved comments
2024-10-04 15:34:34 +00:00

1.3 KiB
Generated

'Presets' for bazelrc

See https://docs.aspect.build/guides/bazelrc

write_aspect_bazelrc_presets

write_aspect_bazelrc_presets(name, presets, kwargs)

Keeps your vendored copy of Aspect recommended .bazelrc presets up-to-date.

This macro uses a write_source_files rule under the hood to keep your presets up-to-date.

By default all presets are vendored but this list can be customized using the presets attribute.

PARAMETERS

Name Description Default Value
name a unique name for this target none
presets a list of preset names to keep up-to-date ["bazel6", "bazel7", "ci", "convenience", "correctness", "debug", "java", "javascript", "performance"]
kwargs Additional arguments to pass to write_source_files none