-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
42 lines (34 loc) · 1.02 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
.PHONY: prepare-lint
prepare-lint:
brew update
brew bundle
.PHONY: dependencies
dependencies:
yarn --frozen-lockfile
.PHONY: check
check: dependencies
yarn lint
yarn test
yarn build
.PHONY: dependencies-example
dependencies-example: dependencies
yarn build
cd example && yarn --frozen-lockfile
.PHONY: check-example
check-example: dependencies-example
cd example && yarn lint
.PHONY: build-example-android
build-example-android: dependencies-example
cd example && yes | yarn prebuild
cd example/android && ./gradlew assembleDebug -Dorg.gradle.jvmargs="-Xmx4g"
.PHONY: e2e-android
e2e-android: dependencies-example
cd example && detox build --configuration android.emu.debug
cd example && detox test --configuration android.emu.debug --cleanup
.PHONY: dependencies-example-ios
dependencies-example-ios: dependencies-example
cd example && yes | yarn prebuild
.PHONY: e2e-ios
e2e-ios: dependencies-example
cd example && detox build --configuration ios.sim.debug
cd example && detox test --configuration ios.sim.debug --cleanup