mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-16 19:30:29 +00:00
generate Cartfile using the local path
This commit is contained in:
parent
bb856d8786
commit
0223893315
3
build.sh
3
build.sh
@ -48,7 +48,10 @@ if [ "$MODE" = "examples" ]; then
|
|||||||
build
|
build
|
||||||
elif [ -f "${example}/Cartfile" ]; then
|
elif [ -f "${example}/Cartfile" ]; then
|
||||||
echo "Using Carthage"
|
echo "Using Carthage"
|
||||||
|
local_repo=`pwd`
|
||||||
cd $example
|
cd $example
|
||||||
|
|
||||||
|
echo "git \"file://${local_repo}\" \"master\"" > "Cartfile"
|
||||||
carthage update --platform iOS
|
carthage update --platform iOS
|
||||||
|
|
||||||
xctool \
|
xctool \
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
github "facebook/AsyncDisplayKit" "master"
|
git "file:///build.sh/will/put/local/absolute/path/here" "master"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user