feat: add include_external_repositories and exclude_prefixes attributes to copy_to_directory

Also change the default behavior such that files from external repositories are not included unless the external repository is listed in include_external_repositories
17 files changed
tree: 22dbd66f6b4337c362028cb712f1b57e04f87297
  1. .github/
  2. docs/
  3. lib/
  4. .bazelrc
  5. .bazelversion
  6. .gitignore
  7. .pre-commit-config.yaml
  8. .prettierignore
  9. BUILD.bazel
  10. CONTRIBUTING.md
  11. internal_deps.bzl
  12. README.md
  13. WORKSPACE
README.md

Aspect's Bazel helpers library

This is code we would contribute to bazel-skylib, but the declared scope of that project is narrow and it‘s very difficult to get anyone’s attention to review PRs there.

Installation

From the release you wish to use: https://github.com/aspect-build/bazel-lib/releases copy the WORKSPACE snippet into your WORKSPACE file.