File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change
1
+ # TODO: Use newer Sim. Sticking with it at the moment because we know it works in the existing GitHub action setup.
2
+ SIMULATOR_NAME ?= iPhone 14
3
+ SIMULATOR_OS ?= latest
4
+ XCODE_PATH ?= /Applications/Xcode.app
5
+
6
+ # Convenience to open the lib and demo project with Xcode, given it's not in the root.
7
+ open :
8
+ open -a $(XCODE_PATH ) ./Demo/ParselyDemo.xcodeproj
9
+
10
+ # TODO: Move off xcpretty to xcbeautify. Sticking with it at the moment because we know it works in the existing GitHub action setup.
11
+ test :
12
+ set -o pipefail \
13
+ && xcodebuild test \
14
+ -project Demo/ParselyDemo.xcodeproj \
15
+ -scheme ParselyDemo \
16
+ -sdk iphonesimulator \
17
+ -destination ' platform=iOS Simulator,name=$(SIMULATOR_NAME),OS=$(SIMULATOR_OS)' \
18
+ | xcpretty
You can’t perform that action at this time.
0 commit comments