Is there a way to determine if a certain part of m...
# general
n
Is there a way to determine if a certain part of my code has changed? And then run a pantsbuild goal on that directory?
g
See
./pants changed --help
For example, test everything affected by a change in my branch:
./pants --changed-parent=origin/master --changed-include-dependees=transitive test
If you're making an API change, you could see if everything in your repo still compiles with
./pants --changed-parent=origin/master --changed-include-dependees=transitive compile
n
Oh okay thanks gotta tinker some more with it.