forked from MLSDev/TRON
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
45 lines (32 loc) · 1.36 KB
/
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
SHELL := /bin/bash
# Install Tasks
install-iOS:
xcrun instruments -w "iPhone 6s (10.0)" || true
install-OSX:
true
install-tvOS:
xcrun instruments -w "Apple TV 1080p (10.0)" || true
install-watchOS:
true
install-carthage:
brew remove carthage --force || true
brew install carthage
install-cocoapods:
gem install cocoapods --pre --no-rdoc --no-ri --no-document --quiet
# Run Tasks
test-iOS:
set -o pipefail && xcodebuild -project TRON.xcodeproj -scheme "TRON iOS" -destination "name=iPhone 6s" -enableCodeCoverage YES test -configuration "Release" | xcpretty -ct
bash <(curl -s https://codecov.io/bash)
test-OSX:
set -o pipefail && xcodebuild -project TRON.xcodeproj -scheme "TRON OSX" -enableCodeCoverage YES test -configuration "Release" | xcpretty -ct
bash <(curl -s https://codecov.io/bash)
test-tvOS:
set -o pipefail && xcodebuild -project TRON.xcodeproj -scheme "TRON tvOS" -destination "name=Apple TV 1080p" -enableCodeCoverage YES test -configuration "Release" | xcpretty -ct
bash <(curl -s https://codecov.io/bash)
test-watchOS:
set -o pipefail && xcodebuild -project TRON.xcodeproj -scheme "TRON watchOS" -destination "name=Apple Watch - 42mm" -configuration "Release" | xcpretty -c
test-carthage:
carthage build --no-skip-current --platform iOS
ls Carthage/build/iOS/TRON.framework
test-cocoapods:
pod repo update && pod lib lint --allow-warnings --verbose