buildtools icon indicating copy to clipboard operation
buildtools copied to clipboard

buildozer: handle multiple glob tokens in set command

Open stagnation opened this issue 11 months ago • 1 comments

To address #1249. This continues the special case handling for globs in set X glob(...) commands from #100. Ideally we should have a higher parsing level to extract the inner arguments from functions so they can be reorganized like regular files are. This does not work for add X glob(...) which follows the status quo. At the moment we only use set internally but can look at add too on the back burner. Thanks for this wonderful tool!

stagnation avatar Mar 11 '24 13:03 stagnation

Just found this: https://github.com/bazelbuild/buildtools/pull/572 which also improves globs, higher up in the parser. Is that a better solution to revive and continue with?

stagnation avatar Mar 13 '24 09:03 stagnation