generate Cartfile using the local path

This commit is contained in:
Engin Kurutepe 2016-03-15 18:13:49 +01:00
parent bb856d8786
commit 0223893315
2 changed files with 4 additions and 1 deletions

View File

@ -48,7 +48,10 @@ if [ "$MODE" = "examples" ]; then
build
elif [ -f "${example}/Cartfile" ]; then
echo "Using Carthage"
local_repo=`pwd`
cd $example
echo "git \"file://${local_repo}\" \"master\"" > "Cartfile"
carthage update --platform iOS
xctool \

View File

@ -1 +1 @@
github "facebook/AsyncDisplayKit" "master"
git "file:///build.sh/will/put/local/absolute/path/here" "master"