-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMakefile
41 lines (28 loc) · 878 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
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
app/google-services.json:
cp "${GOOGLE_SERVICES_JSON}" app/google-services.json
lint: ruby gems brew app/google-services.json .FORCE
bundle exec fastlane lint strict:true
start_server: submodules stop_server .FORCE
$(SHELL) Scripts/startServer.sh
stop_server: .FORCE
$(SHELL) Scripts/stopServer.sh
setup_emulator: submodules teardown_emulator .FORCE
$(SHELL) Scripts/setupEmulator.sh
teardown_emulator: .FORCE
$(SHELL) Scripts/teardownEmulator.sh
tests: submodules ruby gems brew start_server setup_emulator app/google-services.json .FORCE
$(SHELL) Scripts/runTests.sh
$(MAKE) teardown_emulator
$(MAKE) stop_server
translations:
bundle exec fastlane translations
.FORCE: