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
Allows user not to clean on ipa command #168
Conversation
Makes sense, it's okay to add it like this. If you could add a test for it, it's ready to merge 👍 |
Sounds good – I'll add a test. It does feel a bit unnatural though. Would it be better to have a |
Yes, probably! Let's go with that. |
OK cool. I'll come up with an implementation I think make sense and some tests. |
Thanks @ashfurrow for working on this 👍 |
No problem! Before I write any tests, does this implementation make sense? Any suggestions on its style? Couldn't figure out how to switch between two different args depending on the value of the param. |
Yes, it looks good. I honestly don't like the style of this part of the code in general (not yours, the code as it was before), as it's not very clear what part is being used. If it works, I'm okay with it 👍 |
OK cool. I'll write a test, then! |
OK coo, this is tested. Users providing the old |
Looks good to me 👍 |
Allows user not to clean on ipa command
Thanks again @ashfurrow 🚀 |
This will be in the next release, please use the latest version from the |
Coooool will do! |
Issue #168 wrap xcodebuild calls within ruby system environment
Shenzhen cleans by default unless you specify the
--no-clean
flag. This is a problem, since some projects (ours) cannot be successfully compiled on a clean build.The way the
ipa
command was set up lead to basically no being able to opt out of the default clean.There's probably a lot better way to do this, both syntactically and from a "this is terrible code" perspective. I couldn't figure out how to use
clean: false
or something equivalent, but would be happy to do so given a point in the right direction.Also I can add tests of course, when we get the implementation down.