You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-39Lines changed: 6 additions & 39 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,17 +2,21 @@
2
2
3
3
Base Starlark libraries and basic Bazel rules which are useful for constructing rulesets and BUILD files.
4
4
5
+
## Relationship to bazel-skylib
6
+
5
7
This module depends on [bazel-skylib](https://github.com/bazelbuild/bazel-skylib).
6
8
In theory all these utilities could be upstreamed to bazel-skylib, but the declared scope of that project
7
-
is narrow and it's very difficult to get anyone's attention to review PRs there.
9
+
is narrow and it no longer accepts feature requests, see https://github.com/orgs/bazelbuild/discussions/3.
10
+
It's possible that we may instead remove the dependency on bazel-skylib and entirely replace it, in an ABI-compatible sense. See https://github.com/bazel-contrib/bazel-lib/issues/927.
8
11
9
12
## Installation
10
13
11
14
Installation instructions are included on each release:
To use a commit rather than a release, you can point at any SHA of the repo.
15
-
However, this adds more "dev dependencies", as you'll have to build our helper programs (such as `copy_to_directory`, `expand_template`) from their Go sources rather than
18
+
However, this adds more "dev dependencies", as you'll have to build our helper programs
19
+
(such as `copy_to_directory`, `expand_template`) from their Go sources rather than
16
20
download pre-built binaries.
17
21
18
22
For example to use commit `abc123` in `MODULE.bazel`:
@@ -38,40 +42,3 @@ Or in `WORKSPACE`:
38
42
39
43
> Note that GitHub source archives don't have a strong guarantee on the sha256 stability, see
-[copy_directory](docs/copy_directory.md) Copies directories to another package.
47
-
-[copy_file](docs/copy_file.md) Copies files to another package.
48
-
-[copy_to_bin](docs/copy_to_bin.md) Copies a source file to output tree at the same workspace-relative path.
49
-
-[copy_to_directory](docs/copy_to_directory.md) Copies and arranges files and directories into a new directory.
50
-
-[write_source_files](docs/write_source_files.md) Write to one or more files or folders in the source tree. Stamp out tests that ensure the sources exist and are up to date.
51
-
52
-
## Manipulating paths
53
-
54
-
-[directory_path](docs/directory_path.md) Provide a label to reference some path within a directory, via DirectoryPathInfo.
55
-
-[output_files](docs/output_files.md) Forwards a subset of the files (via the DefaultInfo provider) from a given target's DefaultInfo or OutputGroupInfo.
56
-
57
-
## Writing rules
58
-
59
-
-[expand_make_vars](docs/expand_make_vars.md) Perform make variable and location substitutions in strings..
60
-
-[expand_template](docs/expand_template.md) Substitute templates with make variables, location resolves, stamp variables, and arbitrary strings.
0 commit comments