forked from MLSDev/LoadableViews
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
44 lines (35 loc) · 907 Bytes
/
Makefile
File metadata and controls
44 lines (35 loc) · 907 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
SHELL := /bin/bash
# Install Tasks
install-iOS:
true
install-tvOS:
true
install-carthage:
brew rm carthage || true
brew install carthage
install-coverage:
true
# Run Tasks
test-iOS:
set -o pipefail && \
xcodebuild \
-project LoadableViews.xcodeproj \
-scheme LoadableViews \
-destination "name=iPhone 6s" \
clean test \
| xcpretty -ct
test-tvOS:
set -o pipefail && \
xcodebuild \
-project LoadableViews.xcodeproj \
-scheme LoadableViews \
-destination "name=Apple TV 1080p" \
clean test \
| xcpretty -ct
test-carthage:
carthage build --no-skip-current
ls Carthage/build/iOS/LoadableViews.framework
ls Carthage/build/tvOS/LoadableViews.framework
test-coverage:
set -o pipefail && xcodebuild -project LoadableViews.xcodeproj -scheme LoadableViews -enableCodeCoverage YES -destination "name=iPhone 6s" test | xcpretty -ct
bash <(curl -s https://codecov.io/bash)