Added xcpretty for test and build scripts

This commit is contained in:
2020-05-14 00:42:08 +01:00
parent b6721f0274
commit 445584bb1b
2 changed files with 7 additions and 4 deletions
+4 -2
View File
@@ -1,16 +1,18 @@
# INSTALL xcpretty: sudo gem install xcpretty
NAME='MTMR'
rm -r Release 2>/dev/null
xcodebuild archive \
-scheme "$NAME" \
-archivePath Release/App.xcarchive
-archivePath Release/App.xcarchive | xcpretty -c
xcodebuild \
-exportArchive \
-archivePath Release/App.xcarchive \
-exportOptionsPlist export-options.plist \
-exportPath Release
-exportPath Release | xcpretty -c
cd Release
rm -r App.xcarchive
+3 -2
View File
@@ -1,3 +1,4 @@
# INSTALL xcpretty: sudo gem install xcpretty
NAME='MTMR'
killall $NAME
@@ -11,13 +12,13 @@ rm -r Release 2>/dev/null
xcodebuild archive \
-scheme "$NAME" \
-archivePath Release/App.xcarchive
-archivePath Release/App.xcarchive | xcpretty
xcodebuild \
-exportArchive \
-archivePath Release/App.xcarchive \
-exportOptionsPlist export-options.plist \
-exportPath Release
-exportPath Release | xcpretty
cd Release
rm -r App.xcarchive