Skip to content

Commit

Permalink
Migrate run command to work on a windows machine.
Browse files Browse the repository at this point in the history
  • Loading branch information
jlyon12345 authored and jamesward committed Jan 23, 2023
1 parent 66f0e19 commit 8b865f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kt_jvm_grpc.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ def _build_srcjar(ctx, proto_dep, input_dir, source_jar):
args.add("c")
args.add(source_jar.path)
args.add_all(depset([input_dir]))
ctx.actions.run_shell(
ctx.actions.run(
outputs = [source_jar],
inputs = [input_dir],
tools = [ctx.executable._zipper],
arguments = [args],
command = "{zipper} $@".format(zipper = ctx.executable._zipper.path),
executable = "{zipper}".format(zipper = ctx.executable._zipper.path),
mnemonic = "KtGrpcSrcJar",
progress_message = "Generating Kotlin gRPC srcjar for %s" % proto_dep.label,
)
Expand Down

0 comments on commit 8b865f7

Please sign in to comment.