Skip to content

Commit

Permalink
Additional windows fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
UebelAndre committed Sep 18, 2024
1 parent 2282fe1 commit 5b98341
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/dep_env/dep_env.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ def _create_dep_dir_impl(ctx):
ctx.actions.run(
executable = writer,
outputs = [out],
arguments = ["{}/a_file".format(out.path)],
arguments = [
"{}\\a_file".format(out.path) if is_windows else "{}/a_file".format(out.path),
],
)

return [DefaultInfo(files = depset(direct = [out]))]
Expand Down

0 comments on commit 5b98341

Please sign in to comment.