-
Notifications
You must be signed in to change notification settings - Fork 4k
[NoQA] feat: cli setup to enable remote builds for ios and android using RNEF #58706
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
Merged
roryabraham
merged 28 commits into
Expensify:main
from
callstack-internal:feat/remote-builds
Apr 3, 2025
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
72523c6
feat: setup rnef for ios and android
adhorodyski 0205a57
chore: disable remote cache by default
adhorodyski 23721bf
chore: uninstall /tools as they are not not needed now
adhorodyski 4406cb0
chore: prettier run
adhorodyski cf05573
chore: cleanup lockfiles
adhorodyski 01029b6
docs: hybridApp docs cleanup after removing rn cli
adhorodyski 55c560b
chore: fix package-lock
adhorodyski b6a243d
chore: update checksum in `Podfile.lock`
szymonrybczak 5d927d2
chore: move the rn bundle script outside of the project declaration
adhorodyski 1ae3146
chore: fix shell lint errors on the extracted script
adhorodyski 1408f58
chore: fix shell lint warnings on the extracted script
adhorodyski 9f5851b
Merge branch 'Expensify:main' into feat/remote-builds
adhorodyski ff72bff
Merge branch 'Expensify:main' into feat/remote-builds
adhorodyski 98f2ec8
fix: permissions to exec the ios bundle script
adhorodyski 83d6a81
Merge branch 'Expensify:main' into feat/remote-builds
adhorodyski 1044f46
Merge branch 'Expensify:main' into feat/remote-builds
adhorodyski 1f59c8d
Merge branch 'Expensify:main' into feat/remote-builds
adhorodyski cebcb95
Merge branch 'Expensify:main' into feat/remote-builds
adhorodyski 0b16a1c
fix: ios js bundling command
adhorodyski a183f5e
fix: prettier watch command to include mjs files
adhorodyski c273c4c
fix: android js bundling command
adhorodyski b566652
Merge branch 'Expensify:main' into feat/remote-builds
adhorodyski b98f90b
chore: use bundler property for the metro plugin
adhorodyski 568b024
Merge branch 'Expensify:main' into feat/remote-builds
adhorodyski d93f2cd
fix: cli path location for android
adhorodyski c635827
Merge branch 'Expensify:main' into feat/remote-builds
adhorodyski 5788dee
Merge branch 'Expensify:main' into feat/remote-builds
adhorodyski 10ae87d
Merge branch 'Expensify:main' into feat/remote-builds
adhorodyski File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| #!/bin/bash | ||
|
|
||
| if [[ -f "$PODS_ROOT/../.xcode.env" ]]; then | ||
| source "$PODS_ROOT/../.xcode.env" | ||
| fi | ||
| if [[ -f "$PODS_ROOT/../.xcode.env.local" ]]; then | ||
| source "$PODS_ROOT/../.xcode.env.local" | ||
| fi | ||
|
|
||
| # The project root by default is one level up from the ios directory | ||
| export PROJECT_ROOT="$PROJECT_DIR/.." | ||
|
|
||
| if [[ "$CONFIGURATION" = *Debug* ]]; then | ||
| export SKIP_BUNDLING=1 | ||
| fi | ||
| if [[ -z "$ENTRY_FILE" ]]; then | ||
| # Set the entry JS file using the bundler's entry resolution. | ||
| ENTRY_FILE="$("$NODE_BINARY" -e "require('expo/scripts/resolveAppEntry')" "$PROJECT_ROOT" ios relative | tail -n 1)" | ||
| export ENTRY_FILE | ||
| fi | ||
|
|
||
| if [[ -z "$CLI_PATH" ]]; then | ||
| export CONFIG_CMD="dummy-workaround-value" | ||
| CLI_PATH="$("$NODE_BINARY" --print "require('path').dirname(require.resolve('@rnef/cli/package.json')) + '/dist/src/bin.js'")" | ||
| export CLI_PATH | ||
| fi | ||
| if [[ -z "$BUNDLE_COMMAND" ]]; then | ||
| # CLI command for bundling | ||
| export BUNDLE_COMMAND="bundle" | ||
| fi | ||
|
|
||
| "$NODE_BINARY" --print "require('path').dirname(require.resolve('react-native/package.json')) + '/scripts/react-native-xcode.sh'" |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.