Browse Source

Merge pull request #9 from v2fly/revert-8-kslr-patch-1

Revert "fix bazel not set home"
pull/2545/head
Kslr 5 years ago committed by GitHub
parent
commit
5d616dcc75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      infra/bazel/build.bzl

4
infra/bazel/build.bzl

@ -41,7 +41,9 @@ def _go_command(ctx):
if ctx.attr.arm:
envs+=["GOARM="+ctx.attr.arm]
command = " ".join(envs) + " " + command
switchToPwd="cd ${SPWD} && "
command = switchToPwd + " ".join(envs) + " " + command
ctx.actions.run_shell(
outputs = [output_file],

Loading…
Cancel
Save