forked from pointfreeco/swift-composable-architecture
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
64 lines (58 loc) · 1.48 KB
/
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
PLATFORM_IOS = iOS Simulator,name=iPhone 11 Pro Max
PLATFORM_MACOS = macOS
PLATFORM_TVOS = tvOS Simulator,name=Apple TV 4K (at 1080p)
default: test-all
test-all: test-swift test-workspace
test-swift:
swift test \
--enable-pubgrub-resolver \
--enable-test-discovery \
--parallel
test-workspace:
xcodebuild test \
-scheme ComposableArchitecture \
-destination platform="$(PLATFORM_IOS)" \
-quiet
xcodebuild test \
-scheme ComposableArchitecture \
-destination platform="$(PLATFORM_MACOS)" \
-quiet
xcodebuild test \
-scheme ComposableArchitecture \
-destination platform="$(PLATFORM_TVOS)" \
-quiet
xcodebuild test \
-scheme "CaseStudies (SwiftUI)" \
-destination platform="$(PLATFORM_IOS)" \
-quiet
xcodebuild test \
-scheme "CaseStudies (UIKit)" \
-destination platform="$(PLATFORM_IOS)" \
-quiet
xcodebuild test \
-scheme MotionManager \
-destination platform="$(PLATFORM_IOS)" \
-quiet
xcodebuild test \
-scheme Search \
-destination platform="$(PLATFORM_IOS)" \
-quiet
xcodebuild test \
-scheme SpeechRecognition \
-destination platform="$(PLATFORM_IOS)" \
-quiet
xcodebuild test \
-scheme TicTacToe \
-destination platform="$(PLATFORM_IOS)" \
-quiet
xcodebuild test \
-scheme Todos \
-destination platform="$(PLATFORM_IOS)" \
-quiet
xcodebuild test \
-scheme VoiceMemos \
-destination platform="$(PLATFORM_IOS)" \
-quiet
format:
swift format --in-place --recursive .
.PHONY: format test-all test-swift test-workspace