fieldnotes/Makefile

18 lines
332 B
Makefile

export PATH := $(PATH):./node_modules/.bin
init:
npm install
serve:
npm start
run-android:
react-native run-android
clear:
# Fix https://github.com/facebook/react-native/issues/4968
rm -rf ./node_modules
rm -rf /tmp/metro-bundler-cache-*
rm -rf /tmp/haste-map-react-native-packager-*
.PHONY: serve init run-android clear