-
Notifications
You must be signed in to change notification settings - Fork 20
/
prepare
executable file
·23 lines (23 loc) · 1.09 KB
/
prepare
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
clear
echo "============================================"
echo "Installing the bundler gem"
echo "============================================"
gem install bundle
echo "============================================"
echo "Running Bundler"
echo "============================================"
bundle install
echo "============================================"
echo "Installing CocoaPods"
echo "============================================"
bundle exec pod install --repo-update
echo "============================================"
echo "Changing bundle identifiers"
echo "============================================"
sed -i -e 's/com.getfetchapp.Fetch/com.getfetchapp.Fetch-'$(date +%s)'/g' Fetch.xcodeproj/project.pbxproj
sed -i -e 's/com.getfetchapp.PutioKit/com.getfetchapp.PutioKit-'$(date +%s)'/g' Fetch.xcodeproj/project.pbxproj
sed -i -e 's/com.getfetchapp.SRBarcodeScanner/com.getfetchapp.SRBarcodeScanner-'$(date +%s)'/g' Fetch.xcodeproj/project.pbxproj
echo "============================================"
echo "Fetch is ready to build! 🚀"
echo "============================================"