-
Notifications
You must be signed in to change notification settings - Fork 25
/
Makefile
27 lines (22 loc) · 605 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
PLATFORM_IOS = iOS Simulator,name=iPhone 8
test:
xcodebuild -resolvePackageDependencies \
-workspace Example/Example.xcworkspace \
-scheme Example
xcodebuild clean test \
-workspace Example/Example.xcworkspace \
-scheme Example \
-testPlan FullTests \
-destination platform="$(PLATFORM_IOS)" \
-enableCodeCoverage YES \
-parallel-testing-enabled YES \
-parallel-testing-worker-count 4 \
-quiet \
-resultBundlePath coverage/test_result.xcresult
cleanup:
rm -rf ./Build
rm -rf ./xcov_report
rm -rf ./coverage
release:
swift run rocket ${version}
.PHONY: test cleanup release