Skip to content

Commit

Permalink
generate Cartfile using the local path
Browse files Browse the repository at this point in the history
  • Loading branch information
ekurutepe committed Mar 15, 2016
1 parent bb856d8 commit 0223893
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion examples/CarthageBuildTest/Cartfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github "facebook/AsyncDisplayKit" "master"
git "file:///build.sh/will/put/local/absolute/path/here" "master"

0 comments on commit 0223893

Please sign in to comment.