File tree Expand file tree Collapse file tree 8 files changed +7
-37
lines changed
copy_to_directory_bin_action Expand file tree Collapse file tree 8 files changed +7
-37
lines changed Original file line number Diff line number Diff line change @@ -122,17 +122,6 @@ bzl_library(
122122 deps = ["@bazel_skylib//:bzl_library" ],
123123)
124124
125- bzl_library (
126- name = "deps" ,
127- srcs = ["deps.bzl" ],
128- visibility = ["//visibility:public" ],
129- deps = [
130- "@bazel_tools//tools/build_defs/repo:cache.bzl" ,
131- "@bazel_tools//tools/build_defs/repo:http.bzl" ,
132- "@gazelle//:deps" ,
133- ],
134- )
135-
136125# Place the .vale.ini file in bazel-bin so the relative path it contains
137126# StylesPath = tools/lint/vale
138127# will work when it's run as an action.
Original file line number Diff line number Diff line change 22
33Base Starlark libraries and basic Bazel rules which are useful for constructing rulesets and BUILD files.
44
5+ 📚 API documentation: https://registry.bazel.build/modules/bazel_lib
6+
57## Relationship to bazel-skylib
68
79This module depends on [ bazel-skylib] ( https://github.com/bazelbuild/bazel-skylib ) .
Original file line number Diff line number Diff line change 22
33Drop-in replacement for bzl_library in bazel_skylib, with exceptions:
44- We support .bzl and .star extensions, while bzl_library accepts .bzl and .scl.
5+ - Generates [starlark_doc_extract](https://bazel.build/versions/8.3.0/reference/be/general#starlark_doc_extract)
6+ targets, one for each element of `srcs`, ensuring that the sources list all their dependencies.
7+ Fixes https://github.com/bazelbuild/bazel-skylib/issues/568
58"""
69
710load ("@bazel_skylib//:bzl_library.bzl" , "StarlarkLibraryInfo" )
Original file line number Diff line number Diff line change @@ -12,8 +12,7 @@ there are two caveats to consider when using this feature:
1212 can be added.
13132. Caching: Changes to only the modified time will not re-trigger cached actions. This can
1414 be worked around by using a clean build when these types of changes occur. For tests the
15- [external tag](https://bazel.build/reference/be/common-definitions) can be used but this
16- will result in tests never being cached.
15+ [external tag](https://bazel.build/reference/be/common-definitions) can be used but this will result in tests never being cached.
1716"""
1817
1918load (
Original file line number Diff line number Diff line change @@ -95,8 +95,7 @@ bats_test = rule(
9595 "env" : attr .string_dict (
9696 doc = """Environment variables of the action.
9797
98- Subject to [$(location)](https://bazel.build/reference/be/make-variables#predefined_label_variables)
99- and ["Make variable"](https://bazel.build/reference/be/make-variables) substitution.
98+ Subject to [$(location)](https://bazel.build/reference/be/make-variables#predefined_label_variables) and ["Make variable"](https://bazel.build/reference/be/make-variables) substitution.
10099 """ ,
101100 ),
102101 "_runfiles" : attr .label (default = "@bazel_tools//tools/bash/runfiles" ),
Original file line number Diff line number Diff line change 11"tests for libs"
22
33load ("@bazel_features//:features.bzl" , "bazel_features" )
4- load ("@bazel_lib//:bzl_library.bzl" , "bzl_library" )
54load ("@bazel_skylib//rules:write_file.bzl" , "write_file" )
65load ("@rules_shell//shell:sh_test.bzl" , "sh_test" )
76load ("//lib:expand_template.bzl" , "expand_template" )
@@ -71,9 +70,3 @@ assert_contains(
7170 actual = "expand_template_test.sh" ,
7271 expected = "stuff" ,
7372)
74-
75- bzl_library (
76- name = "generate_outputs" ,
77- srcs = ["generate_outputs.bzl" ],
78- visibility = ["//visibility:public" ],
79- )
Original file line number Diff line number Diff line change 1- load ("@bazel_lib//:bzl_library.bzl" , "bzl_library" )
21load ("//lib:copy_directory.bzl" , "copy_directory" )
32load ("//lib:copy_to_bin.bzl" , "copy_to_bin" )
43load ("//lib:diff_test.bzl" , "diff_test" )
@@ -60,9 +59,3 @@ diff_test(
6059 # RBE not happy with the symlinks in this test case
6160 tags = ["no-remote" ],
6261)
63-
64- bzl_library (
65- name = "other_info" ,
66- srcs = ["other_info.bzl" ],
67- visibility = ["//visibility:public" ],
68- )
Original file line number Diff line number Diff line change 1- load ("@bazel_lib//:bzl_library.bzl" , "bzl_library" )
21load ("@rules_shell//shell:sh_binary.bzl" , "sh_binary" )
32load ("//lib:run_binary.bzl" , "run_binary" )
43load (":stamp_aware_rule.bzl" , "my_stamp_aware_rule" )
@@ -34,10 +33,3 @@ run_binary(
3433 stamp = - 1 ,
3534 tool = "stamper" ,
3635)
37-
38- bzl_library (
39- name = "stamp_aware_rule" ,
40- srcs = ["stamp_aware_rule.bzl" ],
41- visibility = ["//visibility:public" ],
42- deps = ["//lib:stamping" ],
43- )
You can’t perform that action at this time.
0 commit comments