Can I generate all lockfiles except for one? If I ...
# general
m
Can I generate all lockfiles except for one? If I run
pants generate-lockfiles
all resolves have their lockfiles generated. I could use
--resolve
to explicitly pick resolves that should be generated. But can I do it the other way around? Use something like
--resolte!=some-resolve
to generate all except
some-resolve
?
f
I’d assume, since not documented, no. But I’m new to 👖
l
You can just generate them all and then restore the one you don't want from git
m
True, but if it takes 5-10 minutes to generate that one I would like to avoid it.
h
There is no way I can think of at the moment short of enumerating all the ones you do want to generate. But I think we'd be open to a PR to add an option for this (or, preferably, syntax such as
--resolve=-some-resolve
, which is consistent with our existing list option subtraction syntax)
👍 1