We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@bazel_tools//tools/bash/runfiles
1 parent b9c9d69 commit 83e80a5Copy full SHA for 83e80a5
skylib/run_in_workspace.bzl
@@ -52,8 +52,9 @@ cd $(dirname $(readlink {root_file}))
52
files = [
53
ctx.file.cmd,
54
ctx.file.root_file,
55
- ] + ctx.files._bash_runfiles,
+ ],
56
)
57
+ runfiles = runfiles.merge(ctx.attr._bash_runfiles[DefaultInfo].default_runfiles)
58
return [DefaultInfo(runfiles = runfiles)]
59
60
_workspace_binary_script = rule(
@@ -67,7 +68,6 @@ _workspace_binary_script = rule(
67
68
allow_single_file = True,
69
),
70
"_bash_runfiles": attr.label(
- allow_files = True,
71
default = "@bazel_tools//tools/bash/runfiles",
72
73
},
0 commit comments