This repository has been archived by the owner on Jan 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
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
0c43a99
commit eb1d58e
Showing
1 changed file
with
37 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/bin/sh | ||
|
||
echo "Xcode version:" | ||
xcodebuild -version | ||
echo "Brew version:" | ||
brew --version | ||
echo "PATH:" | ||
echo $PATH | ||
|
||
# Install CocoaPods and npm using Homebrew. | ||
echo "Install CocoaPods" | ||
export HOMEBREW_NO_INSTALL_CLEANUP=TRUE | ||
brew install cocoapods | ||
echo "Install npm" | ||
brew install npm | ||
echo "Install gettext for envsubst command" | ||
brew reinstall gettext | ||
|
||
echo "Pod version:" | ||
pod --version | ||
echo "Node version:" | ||
node --version | ||
echo "NPM version:" | ||
npm --version | ||
echo "PATH:" | ||
echo $PATH | ||
|
||
# Setting Environment Variables | ||
cd ../.. | ||
envsubst < .env.deploy > .env.staging | ||
cp .env.staging .env | ||
|
||
# Install dependencies | ||
echo "Running npm install" | ||
npm install | ||
echo "Running pod install" | ||
pod install |