Common useful functions for writing BUILD files and Starlark macros/rules
Go to file
Alex Eagle 096133e5d2
feat: platform_transition_filegroup (#55)
* feat: platform_transition_filegroup

Lifted from https://github.com/aspect-build/gcc-toolchain/pull/8/files
See also https://github.com/fmeum/rules_meta/blob/main/meta/internal/meta.bzl#L4

* test: add tests for transition filegroup
2022-03-30 21:04:14 -07:00
.bazelci fix: fix typo in bazel ci config file name (#34) 2022-02-10 20:47:27 -08:00
.github/workflows test - add bash script tests to CI (#54) 2022-03-30 17:01:16 -07:00
docs feat: platform_transition_filegroup (#55) 2022-03-30 21:04:14 -07:00
e2e test(write_source_files): ensure generated git-ignored files are created (#56) 2022-03-30 17:48:14 -07:00
lib feat: platform_transition_filegroup (#55) 2022-03-30 21:04:14 -07:00
.bazelrc feat: add forked diff_test that handles comparing directories 2021-12-21 16:12:05 -08:00
.bazelversion Add unittest 2021-11-08 07:22:47 -08:00
.gitignore fix(write_source_files): fix writing to workspace root (#53) 2022-03-30 17:04:35 -07:00
.pre-commit-config.yaml fix: fix buildifier 5.0.0 errors (#35) 2022-02-11 07:52:01 -08:00
.prettierignore Add DefaultOutputPathInfo provider and update write_source_files to accept it (#48) 2022-03-14 17:33:52 -07:00
BUILD.bazel fix(write_source_files): fix writing to workspace root (#53) 2022-03-30 17:04:35 -07:00
CONTRIBUTING.md release: update instructions 2021-11-11 07:02:50 -08:00
LICENSE license under apache 2 2021-12-21 16:54:15 -08:00
README.md refactor: simplify release (#13) 2021-12-11 11:27:39 -08:00
WORKSPACE feat: add jq toolchain and rule 2021-12-14 17:59:52 -08:00
internal_deps.bzl chore: Update github archive URLs to have stable SHAs (#32) 2022-02-11 08:03:34 -08:00

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.