-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
feat: add android clean project #38
feat: add android clean project #38
Conversation
Hey there! Out of curiosity, is this closed for a specific reason? The related issue is correct in that deleting android/build is not sufficient, it should be android/app/build but even then that is just convention, the 'app', does not have to be called 'app' so that folder might not exist, meaning so it seems like this would be a good change, in my opinion |
Hey @mikehardy this one is still open: #36 |
@pmadruga near as I can tell, this is a good change and a correct implementation of what should be done to clean android. No idea why the PR is closed, I think it should be merged :-) |
Sure @mikehardy. Just wanted to see the reason why it was closed (maybe the author found something fishy?). |
Maybe with the fresh comments @wilau2 will chime in :-) |
Hey guys,
|
Ah cool @wilau2 - thanks for responding. From my perspective then, this is still a desired react-native-clean-project feature, and if I were to implement it, I'd implement it exactly the same. Any reason not to keep the PR open and mere it for others to use so they don't have to do the package.json scripting if they don't want to? I use react-native-clean-project in my role as maintainer of a few repos so I can give people one command to clean out completely so it's valuable to me to have it all here in one spot |
I moved away and you can probably see my train of thoughts with the different PRs I closed: In the end, I'd prefer a collection of reusable scripts than a dynamic client. This PR is probably good to merge, I was just blocked by other stuff I needed to modify and got lost in a lot of PRs at some point. |
That's really interesting and thanks for sharing it. I wonder whether a simple Q&A would work? For example, when running the library for the first time, it would ask whether is android/ios, npm/yarn and then generate a file with the config options. Next time the script runs, it would read from that file. |
For me this project is specifically about wiping away corrupt state / caching in a deterministic never-fails way (so I can converge colleague's environments with one command, and know that CI / release builds work every time). So for it to have it's own state across runs is like giving a fish a bicycle :-), completely outside what I'm interested in - likely to add another set of quirks to the one tool I trust to de-quirk everything else |
Requirements:
I prefer it to be long but have 100% success rate than customizable to save some time. |
That's great feedback, folks. Thank you for it. I'll be looking into incorporating the PR into master. PS: |
sorry for the very late feedback (but thank you for merging this!) - you mention:
I have a preference for "everything by default" but "everything with a switch" as stated before - just a personal preference, I understand people are different - but based on that, having it be one thing that "cleans node_modules" and one separate thing "installs node_modules" would be more towards my liking. A minor point for me though, I still recommend this project about 2x a day :-) - it has 265 stars now too, pretty cool I think. Cheers |
No description provided.