mirror of
https://github.com/Toxblh/MTMR.git
synced 2026-01-09 16:48:38 +00:00
Added xcpretty for test and build scripts
This commit is contained in:
parent
b6721f0274
commit
445584bb1b
6
build.sh
6
build.sh
@ -1,16 +1,18 @@
|
|||||||
|
# INSTALL xcpretty: sudo gem install xcpretty
|
||||||
|
|
||||||
NAME='MTMR'
|
NAME='MTMR'
|
||||||
|
|
||||||
rm -r Release 2>/dev/null
|
rm -r Release 2>/dev/null
|
||||||
|
|
||||||
xcodebuild archive \
|
xcodebuild archive \
|
||||||
-scheme "$NAME" \
|
-scheme "$NAME" \
|
||||||
-archivePath Release/App.xcarchive
|
-archivePath Release/App.xcarchive | xcpretty -c
|
||||||
|
|
||||||
xcodebuild \
|
xcodebuild \
|
||||||
-exportArchive \
|
-exportArchive \
|
||||||
-archivePath Release/App.xcarchive \
|
-archivePath Release/App.xcarchive \
|
||||||
-exportOptionsPlist export-options.plist \
|
-exportOptionsPlist export-options.plist \
|
||||||
-exportPath Release
|
-exportPath Release | xcpretty -c
|
||||||
|
|
||||||
cd Release
|
cd Release
|
||||||
rm -r App.xcarchive
|
rm -r App.xcarchive
|
||||||
|
|||||||
5
test.sh
5
test.sh
@ -1,3 +1,4 @@
|
|||||||
|
# INSTALL xcpretty: sudo gem install xcpretty
|
||||||
|
|
||||||
NAME='MTMR'
|
NAME='MTMR'
|
||||||
killall $NAME
|
killall $NAME
|
||||||
@ -11,13 +12,13 @@ rm -r Release 2>/dev/null
|
|||||||
|
|
||||||
xcodebuild archive \
|
xcodebuild archive \
|
||||||
-scheme "$NAME" \
|
-scheme "$NAME" \
|
||||||
-archivePath Release/App.xcarchive
|
-archivePath Release/App.xcarchive | xcpretty
|
||||||
|
|
||||||
xcodebuild \
|
xcodebuild \
|
||||||
-exportArchive \
|
-exportArchive \
|
||||||
-archivePath Release/App.xcarchive \
|
-archivePath Release/App.xcarchive \
|
||||||
-exportOptionsPlist export-options.plist \
|
-exportOptionsPlist export-options.plist \
|
||||||
-exportPath Release
|
-exportPath Release | xcpretty
|
||||||
|
|
||||||
cd Release
|
cd Release
|
||||||
rm -r App.xcarchive
|
rm -r App.xcarchive
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user