Fix for --incompatible_no_support_tools_in_action_inputs on Windows (#157)

Error identified with Bazel CI: https://buildkite.com/bazel/bazelisk-plus-incompatible-flags/builds/120#4bcecf1f-c7d3-4de2-ba63-1ea125faa54e
This commit is contained in:
Laurent Le Brun 2019-05-28 10:03:39 +02:00 committed by GitHub
parent 9aa308e1ef
commit 5c80706f70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -37,7 +37,8 @@ def copy_cmd(ctx, src, dst):
is_executable = True,
)
ctx.actions.run(
inputs = [src, bat],
inputs = [src],
tools = [bat],
outputs = [dst],
executable = "cmd.exe",
arguments = ["/C", bat.path.replace("/", "\\")],