Skip to content
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

doctor: improve ios-deploy installation #726

Merged
merged 18 commits into from
Sep 18, 2019

Conversation

lucasbento
Copy link
Member

@lucasbento lucasbento commented Sep 17, 2019

Summary:

This PR is related to #694, it improves the experience of when the command can not "guess" which package manager to use when installing ios-deploy, with this change, we try to guess, if not available then we prompt a question asking which package manager to use (yarn or npm) and an option to skip, if the user chooses skip then we just print a message for manual installation.

Before (when it couldn't guess the package manager)

before

After

When it guesses the package manager

When it guesses the package manager

When it shows options

When it shows options

When you choose "skip"

When you choose "skip"

➡️ Skipping doesn't cancel the other health checks, it continues normally.

Test Plan:

  1. yarn global remove ios-deploy / npm uninstall -g ios-deploy
  2. /path/to/cli doctor
  3. Press F

@lucasbento
Copy link
Member Author

@thib92: if you have time, please take a look 🙂

Copy link
Contributor

@thib92 thib92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, just a couple things.

@lucasbento lucasbento changed the base branch from refactor/separate-cocoapods-installation to master September 18, 2019 09:46
@lucasbento
Copy link
Member Author

@thymikee: thanks for the review, changes done!

@lucasbento lucasbento mentioned this pull request Sep 18, 2019
@lucasbento lucasbento requested a review from thymikee September 18, 2019 14:24
@thymikee thymikee merged commit c99dcf5 into master Sep 18, 2019
@thymikee thymikee deleted the refactor/improve-ios-deploy-installation branch September 18, 2019 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants