-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (27 loc) · 742 Bytes
/
Makefile
File metadata and controls
29 lines (27 loc) · 742 Bytes
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
PLATFORM_IOS = iOS Simulator,name=iPhone 14 Pro Max
PLATFORM_MACOS = macOS
PLATFORM_TVOS = tvOS Simulator,name=Apple TV
PLATFORM_WATCHOS = watchOS Simulator,name=Apple Watch Series 7 (45mm)
format:
swift format \
--ignore-unparsable-files \
--in-place \
--recursive \
./Sources ./Tests ./Package.swift
test:
xcodebuild test \
-scmProvider system \
-scheme "HTTP" \
-destination platform="$(PLATFORM_IOS)"
xcodebuild test \
-scmProvider system \
-scheme "HTTP" \
-destination platform="$(PLATFORM_MACOS)"
xcodebuild test \
-scmProvider system \
-scheme "HTTP" \
-destination platform="$(PLATFORM_TVOS)"
xcodebuild test \
-scmProvider system \
-scheme "HTTP" \
-destination platform="$(PLATFORM_WATCHOS)"