-
-
Notifications
You must be signed in to change notification settings - Fork 652
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pants doesn't complain when goal doesn't exist for target #3651
Comments
beyond my gut feeling is that this is probably somewhat non-trivial due to the way pants works - ymmv tho. |
Thanks for your reply! What you said is correct -- there is a target called I'll post this on pants-devel@ to solicit more opinions. |
pants bundle
doesn't complain on wrong arguments
Closing as V2 goals now have a mechanism for doing this by requesting |
Hi,
I have a pants project which contains a
hadoop_binary
target. (It actually contains twohadoop_binary
targets.) My goal was to compile the project and create a bundle of one of the binary targets (in thedist/
directory).Unfortunately, I forgot to include the target in my pants command. So, instead of
I typed
As a result, pants did not produce a bundle.
Eventually, I realized that the bundle was not created, and that I was typing the wrong command. However, I wish that pants would have given me an error when I typed this command.
Do you think this would be a useful change? If so, I might try to submit a PR.
The text was updated successfully, but these errors were encountered: