-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Working post clone script for Xcode cloud
- Loading branch information
1 parent
8a0ec73
commit 3ac4c99
Showing
3 changed files
with
28 additions
and
10 deletions.
There are no files selected for viewing
This file contains 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 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 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 |
---|---|---|
|
@@ -6,17 +6,33 @@ | |
# Created by NigelBreslaw on 2.1.2024. | ||
# | ||
|
||
echo "============> Installing NVM <============" | ||
brew install nvm | ||
|
||
echo "============> Installing Node <============" | ||
nvm install 20.10.0 | ||
arch | ||
node_version=20.10.0 | ||
|
||
if [ "$ARCHITECTURE" == "arm64" ]; then | ||
# For arm64 architecture (Apple Silicon) | ||
arch=arm64 | ||
else | ||
# For x86 architecture | ||
arch=x64 | ||
fi | ||
|
||
echo "=========> Installing cocoapods" | ||
echo "============> Installing Node <============" | ||
curl "https://nodejs.org/dist/v$node_version/node-v$node_version-darwin-$arch.tar.gz" -o $HOME/Downloads/node.tar.gz | ||
tar -xf "$HOME/Downloads/node.tar.gz" | ||
NODE_PATH="$PWD/node-v$node_version-darwin-$arch/bin" | ||
PATH+=":$NODE_PATH" | ||
export PATH | ||
node -v | ||
npm -v | ||
|
||
echo "============> Installing cocoapods <============" | ||
brew install cocoapods | ||
|
||
echo "=======> Installing PNPM" | ||
npm install -g pnpm | ||
npm install -g [email protected] | ||
|
||
|
||
echo "=====> Moving to build directory" | ||
cd native_gg | ||
|