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
The buck2 CLI supports passing build targets via files, which is important when the list might be larger than the maximum CLI args length.
Given that BXL supports taking target patterns as inputs, it would be very convenient if it could support argfiles as well, given that there is (to my knowledge) no way to implement them by hand.
Would this be a welcome change? If so, could someone give me some pointers as to how to go about it?
I'm also open to any suggestions for how to solve my problem (passing a large amount of build targets to a BXL script) some other way.
The text was updated successfully, but these errors were encountered:
cbarrete
changed the title
Add support for argsfile to BXL
Add support for argsfile inputs to BXL
Sep 3, 2024
passing a large amount of build targets to a BXL script
I am not sure your use cases here. But I would recommend do a query to get all the targets you want. Or you can define a rule that have a attribute that can hold the list of target and define a target for this rule to holds all targets you want. In bxl, get the targets from the attributes of that targets.
The
buck2
CLI supports passing build targets via files, which is important when the list might be larger than the maximum CLI args length.Given that BXL supports taking target patterns as inputs, it would be very convenient if it could support argfiles as well, given that there is (to my knowledge) no way to implement them by hand.
Would this be a welcome change? If so, could someone give me some pointers as to how to go about it?
I'm also open to any suggestions for how to solve my problem (passing a large amount of build targets to a BXL script) some other way.
The text was updated successfully, but these errors were encountered: