forked from mobilecoinofficial/MobileCoin-Swift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
53 lines (46 loc) · 1.04 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
.PHONY: default
default: setup bootstrap build test
.PHONY: setup
setup:
bundle install
.PHONY: bootstrap
bootstrap:
bundle exec pod install
.PHONY: build
build:
bundle exec fastlane gym \
--scheme "Unit Tests" \
--skip_archive \
--skip_codesigning
bundle exec fastlane gym \
--scheme "Integration NonTransacting Tests" \
--skip_archive \
--skip_codesigning
bundle exec fastlane gym \
--scheme "Integration Transacting Tests" \
--skip_archive \
--skip_codesigning
bundle exec fastlane gym \
--scheme "Performance Tests" \
--skip_archive \
--skip_codesigning
bundle exec fastlane gym \
--scheme "Http Protocol Unit Tests" \
--skip_archive \
--skip_codesigning
.PHONY: test
test:
bundle exec fastlane scan \
--scheme "Unit Tests"
bundle exec fastlane scan \
--scheme "Performance Tests"
bundle exec fastlane scan \
--scheme "Http Protocol Unit Tests"
.PHONY: clean
clean:
@[ ! -e test_output ] || rm -r test_output
# Maintenance commands
.PHONY: upgrade-deps
upgrade-deps:
bundle update
bundle exec pod update