forked from panicinc/PunchClock
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup
More file actions
executable file
·22 lines (18 loc) · 838 Bytes
/
setup
File metadata and controls
executable file
·22 lines (18 loc) · 838 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env sh
if [ ! -f PunchClock/constants.h ]; then
cp PunchClock/constants.h.sample PunchClock/constants.h
echo "Copied PunchClock/constants.h.sample to PunchClock/constants.h"
fi
if [ ! -f PunchClock/PunchClock_Beta.xcconfig ]; then
cp PunchClock/PunchClock_Beta.xcconfig.sample PunchClock/PunchClock_Beta.xcconfig
echo "Copied PunchClock/PunchClock_Beta.xcconfig.sample to PunchClock/PunchClock_Beta.xcconfig"
fi
if [ ! -f PunchClock/PunchClock_Debug.xcconfig ]; then
cp PunchClock/PunchClock_Debug.xcconfig.sample PunchClock/PunchClock_Debug.xcconfig
echo "Copied PunchClock/PunchClock_Debug.xcconfig.sample to PunchClock/PunchClock_Debug.xcconfig"
fi
if hash pod >/dev/null; then
pod install
else
echo "Cocoapods is not available in your path, make sure you have it installed and run this script again"
fi