2
0
Fork 0
mirror of https://github.com/bazel-contrib/bazel-lib synced 2024-11-25 11:32:33 +00:00
Common useful functions for writing BUILD files and Starlark macros/rules
Find a file
2021-11-10 10:41:16 -08:00
.github/workflows
docs
lib
.bazelrc
.bazelversion
.gitignore
.pre-commit-config.yaml
.prettierignore
BUILD.bazel
CONTRIBUTING.md
internal_deps.bzl
README.md
version.bzl
WORKSPACE

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

Include this in your WORKSPACE file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "aspect_bazel_lib",
    url = "https://github.com/myorg/bazel_lib/releases/download/0.0.0/bazel_lib-0.0.0.tar.gz",
    sha256 = "",
)

note, in the above, replace the version and sha256 with the one indicated in the release notes for bazel_lib In the future, our release automation should take care of this.