-
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.
Try a faster install of node and cocoapods
- Loading branch information
1 parent
67b3932
commit 2d82734
Showing
1 changed file
with
20 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,18 +6,33 @@ | |
# Created by NigelBreslaw on 2.1.2024. | ||
# | ||
|
||
pushd .. | ||
|
||
echo ">>> SETUP ENVIRONMENT" | ||
echo 'export GEM_HOME=$HOME/gems' >>~/.bash_profile | ||
echo 'export PATH=$HOME/gems/bin:$PATH' >>~/.bash_profile | ||
export GEM_HOME=$HOME/gems | ||
export PATH="$GEM_HOME/bin:$PATH" | ||
|
||
echo ">>> INSTALL BUNDLER" | ||
gem install bundler --install-dir $GEM_HOME | ||
|
||
echo "============> Installing Node <============" | ||
brew install node@20 | ||
curl "https://nodejs.org/dist/v20.10.0/node-v20.10.0-darwin-arm64.tar.gz" -o $HOME/Downloads/node.tar.gz | ||
tar -xf "$HOME/Downloads/node.tar.gz" | ||
NODE_PATH="$PWD/node-$VERSION-darwin-$ARCH/bin" | ||
PATH+=":$NODE_PATH" | ||
export PATH | ||
node -v | ||
npm -v | ||
|
||
echo "============> Linking Node <============" | ||
brew link node@20 | ||
popd | ||
|
||
echo "=========> Installing cocoapods" | ||
brew install cocoapods && bundle update --bundler | ||
|
||
echo "=======> Installing PNPM" | ||
npm install -g [email protected] | ||
|
||
|
||
echo "=====> Moving to build directory" | ||
cd native_gg | ||
|
||
|