-
Notifications
You must be signed in to change notification settings - Fork 92
/
Makefile
31 lines (27 loc) · 856 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
PLATFORM_IOS = iOS Simulator,name=iPhone 11 Pro Max
PLATFORM_MACOS = macOS
PLATFORM_TVOS = tvOS Simulator,name=Apple TV
PLATFORM_WATCHOS = watchOS Simulator,name=Apple Watch Series 5 - 44mm
test:
swift test
xcodebuild test \
-scheme combine-schedulers \
-destination platform="$(PLATFORM_IOS)"
xcodebuild test \
-scheme combine-schedulers \
-destination platform="$(PLATFORM_MACOS)"
xcodebuild test \
-scheme combine-schedulers \
-destination platform="$(PLATFORM_TVOS)"
xcodebuild build \
-scheme combine-schedulers \
-destination platform="$(PLATFORM_WATCHOS)"
build-for-library-evolution:
swift build \
-c release \
--target CombineSchedulers \
-Xswiftc -emit-module-interface \
-Xswiftc -enable-library-evolution
format:
swift format --in-place --recursive ./Package.swift ./Sources ./Tests
.PHONY: format test-swift