-
Notifications
You must be signed in to change notification settings - Fork 6
/
Makefile
50 lines (34 loc) · 986 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
46
47
48
49
50
all: submodules ruby brew gems
submodules:
git submodule update
ruby: .ruby-version
rbenv install -s
brew: Brewfile
brew bundle --no-lock
gems: Gemfile Gemfile.lock
bundle install
lint: ruby gems brew .FORCE
bundle exec rubocop
swiftlint --quiet
danger: lint .FORCE
danger-swift ci
start_server: submodules stop_server .FORCE
$(SHELL) Scripts/startServer.sh
stop_server: .FORCE
$(SHELL) Scripts/stopServer.sh
tests: submodules ruby gems brew start_server .FORCE
$(SHELL) Scripts/runTests.sh
$(MAKE) stop_server
unit_tests: submodules ruby gems brew .FORCE
bundle exec fastlane tests test_plan:'UnitTests'
translations: gems .FORCE
bundle exec fastlane translations
pr: .FORCE
bundle exec fastlane pr
deployAdHoc: lint .FORCE
bundle exec fastlane deployAdHoc ci:$(CI)
preview: lint .FORCE
bundle exec fastlane preview version:$(VERSION) skip_increment_build_number:$(SKIP_INCREMENT_BUILD_NUMBER)
release: lint .FORCE
bundle exec fastlane release
.FORCE: