diff --git a/Demo/buddybuild_postbuild.sh b/Demo/buddybuild_postbuild.sh new file mode 100644 index 0000000..cffe0d7 --- /dev/null +++ b/Demo/buddybuild_postbuild.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +set -e + +## Run macOS Tests +echo "\033[0;32mRunning macOS Tests\033[0m" +xcodebuild -workspace 'Demo.xcworkspace' -scheme 'RxViewModelTests-macOS' -configuration 'Debug' -sdk macosx -destination arch='x86_64' test | xcpretty -c --test + +## Run tvOS Tests +echo "\033[0;32mRunning tvOS Tests\033[0m" +xcodebuild -workspace 'Demo.xcworkspace' -scheme 'RxViewModelTests-tvOS' -configuration 'Debug' -sdk appletvsimulator10.2 -destination name='Apple TV 1080p' test | xcpretty -c --test \ No newline at end of file