-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
45 lines (37 loc) · 1.21 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
include makefiles/common.mk
include makefiles/ios-device.mk
include makefiles/android-app.mk
include makefiles/android-device.mk
include makefiles/bugsnag-server.mk
include makefiles/dev-machine.mk
include makefiles/gunak-servers.mk
include makefiles/ios-app.mk
include makefiles/rn-packager.mk
include makefiles/playstore.mk
help:
@IFS=$$'\n' ; \
help_lines=(`fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//'`); \
for help_line in $${help_lines[@]}; do \
IFS=$$'#' ; \
help_split=($$help_line) ; \
help_command=`echo $${help_split[0]} | sed -e 's/^ *//' -e 's/ *$$//'` ; \
help_info=`echo $${help_split[2]} | sed -e 's/^ *//' -e 's/ *$$//'` ; \
printf "%-30s %s\n" $$help_command $$help_info ; \
done
install-android-app-jss-prod:
scp igunatmac:$(prod_apk_path) ../temp/app.apk
$(call _install_apk,../temp/app.apk)
test:
npm test
deps:
npm install
npx patch-package
link-native-dependencies-source:
react-native link
analyse-app-crash:
cd unminifiy && npm start ../android/app/build/generated/sourcemap.js $(line) $(column)
# <packager>
run_packager: ##
REACT_EDITOR=$([ "$REACT_EDITOR" == "" ] && echo "subl" || echo "$REACT_EDITOR")
cd android && npm start
# </packager>