Skip to content

Commit 0223893

Browse files
committed
generate Cartfile using the local path
1 parent bb856d8 commit 0223893

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@ if [ "$MODE" = "examples" ]; then
4848
build
4949
elif [ -f "${example}/Cartfile" ]; then
5050
echo "Using Carthage"
51+
local_repo=`pwd`
5152
cd $example
53+
54+
echo "git \"file://${local_repo}\" \"master\"" > "Cartfile"
5255
carthage update --platform iOS
5356

5457
xctool \
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
github "facebook/AsyncDisplayKit" "master"
1+
git "file:///build.sh/will/put/local/absolute/path/here" "master"

0 commit comments

Comments
 (0)