Common useful functions for writing BUILD files and Starlark macros/rules
Go to file
Greg Magolan 0d2981f288 feat: copy_to_directory copies files and directories to an output directory 2021-11-16 21:30:32 -08:00
.github/workflows release: don't require manual edits to version.bzl 2021-11-11 06:57:46 -08:00
docs feat: copy_to_directory copies files and directories to an output directory 2021-11-16 21:30:32 -08:00
lib feat: copy_to_directory copies files and directories to an output directory 2021-11-16 21:30:32 -08:00
.bazelrc feat: copy_to_directory copies files and directories to an output directory 2021-11-16 21:30:32 -08:00
.bazelversion Add unittest 2021-11-08 07:22:47 -08:00
.gitignore
.pre-commit-config.yaml
.prettierignore Initial commit 2021-11-08 06:46:16 -08:00
BUILD.bazel release: update instructions 2021-11-11 07:02:50 -08:00
CONTRIBUTING.md release: update instructions 2021-11-11 07:02:50 -08:00
README.md Initial commit 2021-11-08 06:46:16 -08:00
WORKSPACE feat: copy_to_directory copies files and directories to an output directory 2021-11-16 21:30:32 -08:00
internal_deps.bzl Initial commit 2021-11-08 06:46:16 -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

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.