forked from MobileNativeFoundation/Kronos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
45 lines (36 loc) · 769 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
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 https://raw.githubusercontent.com/Homebrew/homebrew-core/3d0cc175398ceba2c42204b04dd2a3b5d79536d9/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 6s" \
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 "name=Apple TV 1080p" \
test \
| xcpretty -ct