forked from MobileNativeFoundation/Kronos
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
45 lines (36 loc) · 818 Bytes
/
Makefile
File metadata and controls
45 lines (36 loc) · 818 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Install Tasks
install-iOS:
true
install-OSX:
true
install-tvOS:
true
install-lint:
brew remove swiftlint --force || true
brew install --force-bottle https://raw.githubusercontent.com/Homebrew/homebrew-core/a97c85994a3f714355a20511b4df3a546ae809cf/Formula/swiftlint.rb
# Run Tasks
test-lint:
swiftlint lint --strict 2>/dev/null
test-iOS:
set -o pipefail && \
xcodebuild \
-project Kronos.xcodeproj \
-scheme Kronos \
-destination "name=iPhone 11 Pro Max" \
test \
| xcpretty -ct
test-OSX:
set -o pipefail && \
xcodebuild \
-project Kronos.xcodeproj \
-scheme Kronos \
test \
| xcpretty -ct
test-tvOS:
set -o pipefail && \
xcodebuild \
-project Kronos.xcodeproj \
-scheme Kronos \
-destination "platform=tvOS Simulator,name=Apple TV,OS=13.3" \
test \
| xcpretty -ct