@@ -6,36 +6,66 @@ XCODEBUILD_OPTIONS_IOS=\
66 -scheme $(PROJECT_NAME ) \
77 -workspace .
88
9+ XCODEBUILD_OPTIONS_TVOS =\
10+ -configuration Debug \
11+ -destination platform='tvOS Simulator,name=Apple TV 4K (3rd generation),OS=latest' \
12+ -scheme $(PROJECT_NAME ) \
13+ -workspace .
14+
915XCODEBUILD_OPTIONS_WATCHOS =\
1016 -configuration Debug \
1117 -destination platform='watchOS Simulator,name=Apple Watch Series 8 (45mm),OS=latest' \
1218 -scheme $(PROJECT_NAME ) \
1319 -workspace .
1420
15- .PHONY : setup_brew
16- setup_brew :
21+ .PHONY : setup-brew
22+ setup-brew :
1723 brew update && brew install xcbeautify
1824
19- .PHONY : build_ios
20- build_ios :
25+ .PHONY : build-ios
26+ build-ios :
2127 set -o pipefail && xcodebuild $(XCODEBUILD_OPTIONS_IOS ) build | xcbeautify
2228
23- .PHONY : build_for_testing_ios
24- build_for_testing_ios :
29+ .PHONY : build-tvos
30+ build-tvos :
31+ set -o pipefail && xcodebuild $(XCODEBUILD_OPTIONS_TVOS ) build | xcbeautify
32+
33+ .PHONY : build-watchos
34+ build-watchos :
35+ set -o pipefail && xcodebuild $(XCODEBUILD_OPTIONS_IOS ) build | xcbeautify
36+
37+ .PHONY : build-for-testing-ios
38+ build-for-testing-ios :
2539 set -o pipefail && xcodebuild $(XCODEBUILD_OPTIONS_IOS ) build-for-testing | xcbeautify
2640
27- .PHONY : build_for_testing_watchos
28- build_for_testing_watchos :
41+ .PHONY : build-for-testing-tvos
42+ build-for-testing-tvos :
43+ set -o pipefail && xcodebuild $(XCODEBUILD_OPTIONS_TVOS ) build-for-testing | xcbeautify
44+
45+ .PHONY : build-for-testing-watchos
46+ build-for-testing-watchos :
2947 set -o pipefail && xcodebuild $(XCODEBUILD_OPTIONS_WATCHOS ) build-for-testing | xcbeautify
3048
31- .PHONY : test_ios
32- test_ios :
49+ .PHONY : test-ios
50+ test-ios :
3351 set -o pipefail && xcodebuild $(XCODEBUILD_OPTIONS_IOS ) test | xcbeautify
3452
35- .PHONY : test_without_building_ios
36- test_without_building_ios :
53+ .PHONY : test-tvos
54+ test-tvos :
55+ set -o pipefail && xcodebuild $(XCODEBUILD_OPTIONS_TVOS ) test | xcbeautify
56+
57+ .PHONY : test-watchos
58+ test-watchos :
59+ set -o pipefail && xcodebuild $(XCODEBUILD_OPTIONS_WATCHOS ) test | xcbeautify
60+
61+ .PHONY : test-without-building-ios
62+ test-without-building-ios :
3763 set -o pipefail && xcodebuild $(XCODEBUILD_OPTIONS_IOS ) test-without-building | xcbeautify
3864
39- .PHONY : test_without_building_watchos
40- test_without_building_watchos :
65+ .PHONY : test-without-building-tvos
66+ test-without-building-tvos :
67+ set -o pipefail && xcodebuild $(XCODEBUILD_OPTIONS_TVOS ) test-without-building | xcbeautify
68+
69+ .PHONY : test-without-building-watchos
70+ test-without-building-watchos :
4171 set -o pipefail && xcodebuild $(XCODEBUILD_OPTIONS_WATCHOS ) test-without-building | xcbeautify
0 commit comments