2021-11-08 14:40:36 +00:00
|
|
|
# Aspect's Bazel helpers library
|
2021-11-08 14:20:26 +00:00
|
|
|
|
2021-11-08 14:40:36 +00:00
|
|
|
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.
|
2021-11-08 14:20:26 +00:00
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
Include this in your WORKSPACE file:
|
|
|
|
|
|
|
|
```starlark
|
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
|
|
http_archive(
|
2021-11-08 14:40:36 +00:00
|
|
|
name = "aspect_bazel_lib",
|
|
|
|
url = "https://github.com/myorg/bazel_lib/releases/download/0.0.0/bazel_lib-0.0.0.tar.gz",
|
2021-11-08 14:20:26 +00:00
|
|
|
sha256 = "",
|
|
|
|
)
|
|
|
|
```
|
|
|
|
|
|
|
|
> note, in the above, replace the version and sha256 with the one indicated
|
2021-11-08 14:40:36 +00:00
|
|
|
> in the release notes for bazel_lib
|
2021-11-08 14:20:26 +00:00
|
|
|
> In the future, our release automation should take care of this.
|