I'd like to do something like:
srcs = glob(["*.proto"]) - ["some.proto"],
That particular syntax isn't valid in Skylark. How do I go about accomplishing a list diff in Skylark?
glob provides a exclude attribute, e.g.:
glob
exclude
glob( [ ".editorconfig", ".gitattributes", "third_party/eigen-*/**", ], exclude = ["devertexwahn/flatland/copy.bara.sky"], ),
glob
provides aexclude
attribute, e.g.: