fix: fix a bug where multiple files were not written at the root package
This commit is contained in:
parent
c867e37856
commit
c1e7aa1181
|
@ -37,7 +37,10 @@ genrule(
|
|||
write_source_files(
|
||||
name = "write_source_file_root-test",
|
||||
diff_test = False,
|
||||
files = {"test-out/dist/write_source_file_root-test": ":write_source_file_root"},
|
||||
files = {
|
||||
"test-out/dist/write_source_file_root-test": ":write_source_file_root",
|
||||
"test-out/dist/write_source_file_root-test_b": ":write_source_file_root",
|
||||
},
|
||||
)
|
||||
|
||||
# Test that yq works in the root package
|
||||
|
|
|
@ -181,7 +181,7 @@ fi
|
|||
"# Run the update scripts for all write_source_file deps",
|
||||
])
|
||||
for update_script in additional_update_scripts:
|
||||
contents.append("\"{update_script}\"".format(update_script = update_script.short_path))
|
||||
contents.append("./\"{update_script}\"".format(update_script = update_script.short_path))
|
||||
|
||||
ctx.actions.write(
|
||||
output = updater,
|
||||
|
|
Loading…
Reference in New Issue