Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Carthage & Quick & Nimble for tests
- Loading branch information
1 parent
2b9e347
commit f7a2f24
Showing
5 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,4 +20,4 @@ xcuserdata/ | |
/.build/ | ||
/www | ||
|
||
/Carthage/Build | ||
/Carthage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
github "Quick/Quick" ~> 1.1.0 | ||
github "Quick/Nimble" ~> 7.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
github "Quick/Nimble" "v7.1.1" | ||
github "Quick/Quick" "v1.3.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/sh | ||
|
||
case "$PLATFORM_NAME" in | ||
macosx) plat=Mac;; | ||
iphone*) plat=iOS;; | ||
watch*) plat=watchOS;; | ||
appletv*) plat=tvOS;; | ||
*) echo "error: Unknown PLATFORM_NAME: $PLATFORM_NAME"; exit 1;; | ||
esac | ||
|
||
for (( n = 0; n < SCRIPT_INPUT_FILE_COUNT; n++ )); do | ||
VAR=SCRIPT_INPUT_FILE_$n | ||
framework=$(basename "${!VAR}") | ||
export SCRIPT_INPUT_FILE_$n="$SRCROOT"/Carthage/Build/$plat/"$framework" | ||
done | ||
|
||
/usr/local/bin/carthage copy-frameworks || exit | ||
|
||
for (( n = 0; n < SCRIPT_INPUT_FILE_COUNT; n++ )); do | ||
VAR=SCRIPT_INPUT_FILE_$n | ||
source=${!VAR}.dSYM | ||
dest=${BUILT_PRODUCTS_DIR}/$(basename "$source") | ||
ditto "$source" "$dest" || exit | ||
done |