Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Commit

Permalink
added basic CI script
Browse files Browse the repository at this point in the history
  • Loading branch information
norbertschuler committed Dec 30, 2021
1 parent 0c43a99 commit 4274de4
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions ios/ci_scripts/ci_post_clone.sh
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 ../..
/usr/local/opt/gettext/bin/envsubst < .env.deploy > .env.staging
cp .env.staging .env

# Install dependencies
echo "Running npm install"
npm install
echo "Running pod install"
pod install

0 comments on commit 4274de4

Please sign in to comment.