-
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.
- Loading branch information
1 parent
a4a2a91
commit 2f8b347
Showing
1 changed file
with
38 additions
and
26 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,40 +6,52 @@ | |
# Created by NigelBreslaw on 2.1.2024. | ||
# | ||
|
||
arch | ||
brew install frum | ||
frum install 3.3.0 | ||
ruby -v | ||
|
||
if [ "$ARCHITECTURE" == "arm64" ]; then | ||
# For arm64 architecture (Apple Silicon) | ||
arch=arm64 | ||
else | ||
# For x86 architecture | ||
arch=x64 | ||
fi | ||
# arch | ||
|
||
echo "============> Installing Node <============" | ||
curl "https://nodejs.org/dist/v20.10.0/node-v20.10.0-darwin-$arch.tar.gz" -o $HOME/Downloads/node.tar.gz | ||
tar -xf "$HOME/Downloads/node.tar.gz" | ||
NODE_PATH="$PWD/node-v20.10.0-darwin-$arch/bin" | ||
PATH+=":$NODE_PATH" | ||
export PATH | ||
node -v | ||
npm -v | ||
# if [ "$ARCHITECTURE" == "arm64" ]; then | ||
# # For arm64 architecture (Apple Silicon) | ||
# arch=arm64 | ||
# else | ||
# # For x86 architecture | ||
# arch=x64 | ||
# fi | ||
|
||
echo "============> Installing cocoapods <============" | ||
brew install cocoapods | ||
# echo "============> Installing Node <============" | ||
# curl "https://nodejs.org/dist/v20.10.0/node-v20.10.0-darwin-$arch.tar.gz" -o $HOME/Downloads/node.tar.gz | ||
# tar -xf "$HOME/Downloads/node.tar.gz" | ||
# NODE_PATH="$PWD/node-v20.10.0-darwin-$arch/bin" | ||
# PATH+=":$NODE_PATH" | ||
# export PATH | ||
# node -v | ||
# npm -v | ||
|
||
# echo "============> Installing chruby <============" | ||
# brew install chruby ruby-install | ||
|
||
# echo "============> Installing ruby <============" | ||
# ruby-install ruby 3.3 | ||
|
||
|
||
echo "=======> Installing PNPM" | ||
npm install -g [email protected] | ||
|
||
# echo "============> Installing cocoapods <============" | ||
# brew install cocoapods | ||
|
||
echo "=====> Moving to build directory" | ||
cd native_gg | ||
|
||
echo "=> Install npm dependencies" | ||
pnpm i --frozen-lockfile | ||
|
||
echo "=> Install pods" | ||
pnpm run pod-install | ||
|
||
# echo "=======> Installing PNPM" | ||
# npm install -g [email protected] | ||
|
||
|
||
# echo "=====> Moving to build directory" | ||
# cd native_gg | ||
|
||
# echo "=> Install npm dependencies" | ||
# pnpm i --frozen-lockfile | ||
|
||
# echo "=> Install pods" | ||
# pnpm run pod-install |