another fun question... is there a way to make `./...
# general
f
another fun question... is there a way to make
./pants package
exit cleanly even if it finds no targets? i'm running
Copy code
./pants --changed-since=$COMPARISON_TARGET --changed-dependees=transitive package
and I want it to be okay if that doesn't match any targets
btw, doing this with the
test
goal doesn't cause any problems
h
There is not, but presumably we should change the behavior to never error. It’s a one-line fix. Are you okay with it being in 2.1.0.dev0, released this Friday likely? We’re hoping to release 2.0.0 tonight/tomorrow
f
sure
is there a workaround i can do with something like
./pants filter
?
nvm, i think i got it
h
a clunky workaround:
Copy code
./pants --changed-since=FOO filter --target-type='python_awslambda,pex_binary,python_distribitution'
Then, if it’s non-empty, pass it to
./pants package
f
exactly waht i came up with
👍 1
h