mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-20 10:12:01 +01:00
36 lines
1.1 KiB
Bash
Executable File
36 lines
1.1 KiB
Bash
Executable File
#!/bin/zsh
|
|
|
|
echo "===== Installing CocoaPods ====="
|
|
export HOMEBREW_NO_INSTALL_CLEANUP=TRUE
|
|
brew install cocoapods
|
|
echo "CocoaPods installation complete."
|
|
|
|
echo "===== Installing Node.js ====="
|
|
brew install node@18
|
|
echo "Node.js installation complete."
|
|
|
|
# Configure environment to use node@18
|
|
echo "Configuring environment to use node@18..."
|
|
echo 'export PATH="/usr/local/opt/node@18/bin:$PATH"' >> ~/.zshrc
|
|
export PATH="/usr/local/opt/node@18/bin:$PATH"
|
|
|
|
echo 'export LDFLAGS="-L/usr/local/opt/node@18/lib"' >> ~/.zshrc
|
|
export LDFLAGS="-L/usr/local/opt/node@18/lib"
|
|
|
|
echo 'export CPPFLAGS="-I/usr/local/opt/node@18/include"' >> ~/.zshrc
|
|
export CPPFLAGS="-I/usr/local/opt/node@18/include"
|
|
echo "Configuration complete."
|
|
|
|
# Install dependencies using npm
|
|
echo "===== Running npm install ====="
|
|
npm install -y | tee npm-install-log.txt
|
|
echo "npm install complete. Full log output in npm-install-log.txt"
|
|
|
|
echo "===== Running pod install ====="
|
|
cd ios
|
|
pod install | tee pod-install-log.txt
|
|
echo "pod install complete. Full log output in pod-install-log.txt"
|
|
cd ..
|
|
|
|
echo "===== Installation and Setup Complete ====="
|