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
[SR-7833] swift run
should accept --build-tests
#4798
Comments
Comment by Guillermo Ignacio Enriquez Gutierrez (JIRA) Hello @aciidb0mb3r I have implemented --build-tests flag but I realized there is another flag: --skip-build. So I have a question about ideal spec. What should happen when these two are given? $ swift-run --skip-build --build-tests I saw that swift build tool emits this: $ swift-build --target myTarget --build-tests
error: '--target' and '--build-tests' are mutually exclusive Do you want me to show emit something similar? or give more importance to --build-tests? or give more importance to --skip-build? |
Comment by Guillermo Ignacio Enriquez Gutierrez (JIRA) @aciidb0mb3r Hello Ankit, I wonder if you saw my question 🙂. Any update? |
Ah, sorry I missed your comment earlier. I think it makes sense to print an error and say that these flags are mutually exclusive. |
Comment by Guillermo Ignacio Enriquez Gutierrez (JIRA) Here is the pull request. This is my first pull request to swift package manager so please bear with me :p |
Resolved by #1654 |
Additional Detail from JIRA
md5: e3b0f0705606702ce56ce09891010c25
Issue Description:
`swift run` should accept --build-tests similar to `swift build`
The text was updated successfully, but these errors were encountered: