Bazel-lib for BUILD and rules authors
summary
Aspect's bazel-lib is a Starlark library with seven toolchains and 38 rules that provides concrete solutions: a macro write_aspect_bazel_presets that emits runnable .bazelrc presets (including a CI-only file) and failing tests when recommendations change, a write_source_files macro that writes directories back into the repo with diff tests, a fast copy_to_directory rule using a Go toolchain and hard links, jq/yq toolchains, expand_template, stamping helpers, a public tar toolchain and a reported ~7x speedup for large-file copies.
AI-written summary · about
