github.com/bazelbuild/bazel-gazelle@v0.36.1-0.20240520142334-61b277ba6fed/language/proto/testdata/protos/BUILD.old (about) 1 genrule( 2 name = "gen_foo_proto", 3 outs = ["foo_generated.proto"], 4 cmd = """echo 'syntax = "proto2"' > foo_generated.proto""", 5 ) 6 7 genrule( 8 name = "gen_bar_txt", 9 outs = ["bar_generated.txt"], 10 cmd = "echo 12345 > bar_generated.txt", 11 )