forked from lyft/mapper
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
62 lines (49 loc) · 1.24 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# 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
install-carthage:
brew remove carthage --force || true
brew install https://raw.githubusercontent.com/Homebrew/homebrew/b0ea85753ecee494dc97fc9f95c5afb9d0b447be/Library/Formula/carthage.rb
install-coverage:
true
install-swiftpm-osx:
true
# Run Tasks
test-lint:
swiftlint lint --strict 2>/dev/null
test-iOS:
set -o pipefail && \
xcodebuild \
-project Mapper.xcodeproj \
-scheme StreemMapper \
-destination "name=iPhone 6s" \
test \
| xcpretty -ct
test-OSX:
set -o pipefail && \
xcodebuild \
-project Mapper.xcodeproj \
-scheme StreemMapper \
test \
| xcpretty -ct
test-tvOS:
set -o pipefail && \
xcodebuild \
-project Mapper.xcodeproj \
-scheme StreemMapper \
-destination "name=Apple TV 1080p" \
test \
| xcpretty -ct
test-carthage:
carthage build --no-skip-current
ls Carthage/build/Mac/StreemMapper.framework
ls Carthage/build/iOS/StreemMapper.framework
ls Carthage/build/tvOS/StreemMapper.framework
ls Carthage/build/watchOS/StreemMapper.framework