diff --git a/rules/private/copy_directory_private.bzl b/rules/private/copy_directory_private.bzl index da60c8b..650e17e 100644 --- a/rules/private/copy_directory_private.bzl +++ b/rules/private/copy_directory_private.bzl @@ -54,8 +54,7 @@ if not exist \"{src}\\\" ( is_executable = True, ) ctx.actions.run( - inputs = [src], - tools = [bat], + inputs = [src, bat], outputs = [dst], executable = "cmd.exe", arguments = ["/C", bat.path.replace("/", "\\")], @@ -78,7 +77,7 @@ rm -rf \"$2\" && cp -fR \"$1/\" \"$2\" progress_message = "Copying directory %s" % src.path ctx.actions.run_shell( - tools = [src], + inputs = [src], outputs = [dst], command = cmd, arguments = [src.path, dst.path],