Skip to content

Commit

Permalink
use glob instead
Browse files Browse the repository at this point in the history
  • Loading branch information
sluongng committed Aug 17, 2023
1 parent 2ef8a76 commit 4b0181a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion go/private/BUILD.sdk.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ filegroup(
"bin/go*",
"src/**",
"pkg/**",
{goenv}
"go.env*",
]),
)

Expand Down
4 changes: 0 additions & 4 deletions go/private/sdk.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -478,9 +478,6 @@ def _sdk_build_file(ctx, platform, version, experiments):
if not "nocoverageredesign" in experiments and not "coverageredesign" in experiments:
experiments = experiments + ["nocoverageredesign"]

# TODO(sluongng): Remove this once we drop support for Go 1.20
include_go_env = pv[1] >= 21

ctx.template(
"BUILD.bazel",
ctx.path(ctx.attr._sdk_build_file),
Expand All @@ -491,7 +488,6 @@ def _sdk_build_file(ctx, platform, version, experiments):
"{exe}": ".exe" if goos == "windows" else "",
"{version}": version,
"{experiments}": repr(experiments),
"{goenv}": "\"go.env\"," if include_go_env else "",
},
)

Expand Down

0 comments on commit 4b0181a

Please sign in to comment.