This repository has been archived by the owner on Jul 17, 2019. It is now read-only.
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
jurre
committed
Jul 10, 2014
1 parent
2e51828
commit 06f8944
Showing
2 changed files
with
26 additions
and
5 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
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,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 |