-
-
Notifications
You must be signed in to change notification settings - Fork 375
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
Add a --clean option to the briefcase build command #1830
Add a --clean option to the briefcase build command #1830
Conversation
Isn't this the same as re-running |
almost but not quite - |
Thanks for the suggestion; but I'm going to close this PR as WONTFIX. I'm not really understanding why this is useful either. If you want to remove the build artefacts and not recreate them, you can use |
as a new user it was unclear to me where the build artifacts were and whether deleting dirs in |
FWIW: If we were to implement this, I'd be a lot more inclined to add a new top-level command - |
I'm still not sure where these tickets are or how to propose a feature? i don't really care about this feature but i have a different thing i'd like to propose. the briefcase docs on contributing just say:
so it seemed reasonable to begin a discussion with a PR. (i implemented it for my own local use, more as a way of reading the code to figure out where build artifacts are than anything) |
"Ticket" is another word commonly used to describe the "issues" on a repository - if you click on new issue, one of the options is a feature request.
Admittedly, that document starts at the point where it's time to actually contribute code, and skips the process of designing a feature in the first place. Agreed that we could improve our documentation here. FWIW, the "open a feature request ticket to discuss a potential idea" is a workflow that is common to most GitHub projects, so it didn't occur to me that documenting this step would be necessary. |
I found myself wanting a quick way to wipe all build artifacts so I added a
--clean
option, as inbriefcase build macOS Xcode --clean
. Feel free to request changes or just close if that's not something the team is interested in.PR Checklist:
pytest
test)--help
output)edit: just to be clear, i will add unit tests if this is actually a feature people are interested in