Skip to content

Commit

Permalink
update build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
libobjc committed Apr 7, 2017
1 parent 8e57c62 commit 98c4b15
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,17 @@ do_lib_ffmpeg () {

do_framework_SGPlatform () {
echo "check SGPlatform..."
git submodule update --init --recursive
if [ -d ".git" ]; then
git submodule update --init --recursive
else
echo "no git repository."
fi
if [ ! -d "Vendors/SGPlatform/SGPlatform.xcodeproj" ]; then
echo "clone SGPlatform from GitHub..."
git clone https://github.com/libobjc/SGPlatform.git Vendors/SGPlatform
echo "clone SGPlatform done."
echo "SGPlatform done."
else
echo "clone SGPlatform done."
echo "SGPlatform done."
fi
}

Expand Down

0 comments on commit 98c4b15

Please sign in to comment.