forked from gonzalezreal/swift-markdown-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (25 loc) · 726 Bytes
/
Copy pathMakefile
File metadata and controls
29 lines (25 loc) · 726 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
DESTINATION_MAC = platform=macOS
DESTINATION_CATALYST = platform=macOS,variant=Mac Catalyst
DESTINATION_IOS = platform=iOS Simulator,name=iPhone 8
DESTINATION_TVOS = platform=tvOS Simulator,name=Apple TV
DESTINATION_WATCHOS = generic/platform=watchOS
default: test
test:
xcodebuild test \
-scheme MarkdownUI \
-destination '$(DESTINATION_MAC)'
xcodebuild test \
-scheme MarkdownUI \
-destination '$(DESTINATION_CATALYST)'
xcodebuild test \
-scheme MarkdownUI \
-destination '$(DESTINATION_IOS)'
xcodebuild test \
-scheme MarkdownUI \
-destination '$(DESTINATION_TVOS)'
xcodebuild \
-scheme MarkdownUI-watchOS \
-destination '$(DESTINATION_WATCHOS)'
format:
swiftformat .
.PHONY: format