forked from dannyhertz/rxswift-composable-architecture
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
32 lines (26 loc) · 760 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
28
29
30
31
32
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
format:
swift format --in-place --recursive ./Package.swift ./Sources ./Tests
.PHONY: format test-all test-swift test-workspace