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

[cli] Misleading build message #24153

Merged
merged 3 commits into from
Sep 1, 2023
Merged

Conversation

alanjhughes
Copy link
Collaborator

Why

Closes ENG-9074

Running npx expo prebuild -p ios or npx expo run:ios outputs Creating native project directories (./ios and ./android). Including android in this example is misleading.

How

Check what platforms the command is targeting and change output accordingly

Test Plan

Tested locally

Screenshot 2023-08-29 at 10 24 43

Screenshot 2023-08-29 at 10 26 17

Screenshot 2023-08-29 at 10 25 43

@linear
Copy link

linear bot commented Aug 29, 2023

ENG-9074 "Creating native project directories (./ios and ./android)" should only print actual directory being created

image.png

In this screenshot, I'm running prebuild for iOS via run:ios but the text suggests that it's also creating an Android directory.

@expo-bot expo-bot added the bot: suggestions ExpoBot has some suggestions label Aug 29, 2023
@expo-bot expo-bot added bot: passed checks ExpoBot has nothing to complain about and removed bot: suggestions ExpoBot has some suggestions labels Aug 29, 2023
Copy link
Member

@byCedric byCedric left a comment

Choose a reason for hiding this comment

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

many-thumbs-up

@alanjhughes alanjhughes merged commit 9f789f0 into main Sep 1, 2023
5 checks passed
@alanjhughes alanjhughes deleted the @alanhughes/cli/expo-run-message branch September 1, 2023 09:12
@EvanBacon
Copy link
Contributor

We also don't update the gitignore anymore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: passed checks ExpoBot has nothing to complain about
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants