Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add env and env_inherit to native_binary and native_test #482

Closed
wants to merge 13 commits into from
Prev Previous commit
Next Next commit
Autoformat correctly
redsun82 committed Dec 21, 2023
commit 336176fa1eea97ce44656fc8b797779da3fa8120
1 change: 1 addition & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
@@ -11,6 +11,7 @@ register_toolchains(
)

bazel_dep(name = "platforms", version = "0.0.4")

globals = use_extension("//:extension.bzl", "globals_extension")
use_repo(globals, "bazel_skylib_globals")

2 changes: 1 addition & 1 deletion MODULE.bazel-remove-override.patch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- MODULE.bazel
+++ MODULE.bazel
@@ -24,8 +24,8 @@
@@ -25,8 +25,8 @@
# Needed for bazelci and for building distribution tarballs.
# If using an unreleased version of bazel_skylib via git_override, apply
# MODULE.bazel-remove-override.patch to remove the following lines:
5 changes: 4 additions & 1 deletion docs/BUILD
Original file line number Diff line number Diff line change
@@ -66,7 +66,10 @@ stardoc_with_diff_test(
name = "native_binary",
bzl_library_target = "//rules:native_binary",
out_label = "//docs:native_binary_doc.md",
deps = ["//lib:versions.bzl", "@bazel_skylib_globals//:globals.bzl"],
deps = [
"//lib:versions.bzl",
"@bazel_skylib_globals//:globals.bzl",
],
)

stardoc_with_diff_test(