mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-15 18:59:54 +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
|
||||
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 \
|
||||
|
||||
@ -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