2
0
Fork 0
mirror of https://github.com/bazel-contrib/bazel-lib synced 2024-11-27 17:43:27 +00:00
bazel-lib/lib/tests/write_source_files/subdir/BUILD.bazel
2022-02-28 15:42:20 -08:00

20 lines
515 B
Python

load("//lib:write_source_files.bzl", "write_source_files")
genrule(
name = "c-desired",
outs = ["c-desired.js"],
cmd = "echo 'console.log(\"c*\");' > $@",
)
write_source_files(
name = "macro_smoke_test",
files = {
"c.js": ":c-desired",
},
suggested_update_target = "//lib/tests/write_source_files:macro_smoke_test",
visibility = ["//visibility:public"],
additional_update_targets = [
"//lib/tests/write_source_files/subdir/subsubdir:macro_smoke_test",
],
)