You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that kind of code really belongs in some kind of genrule() or a custom rule. There are many hard-coded magic strings in that call that can be converted to Label(). That returns a Label object with all kinds of goodies: https://bazel.build/rules/lib/builtins/Label.html
The text was updated successfully, but these errors were encountered:
We use scripts to invoke the microgenerator via Bazel, for example:
google-cloud-cpp/ci/cloudbuild/builds/generate-libraries.sh
Lines 26 to 33 in 34c4b4c
It seems that kind of code really belongs in some kind of
genrule()
or a custom rule. There are many hard-coded magic strings in that call that can be converted toLabel()
. That returns aLabel
object with all kinds of goodies: https://bazel.build/rules/lib/builtins/Label.htmlThe text was updated successfully, but these errors were encountered: