[FIX #3399] add setup and full-prod-build targets

In order to have a working status-react both for android and iOS
easily, the setup target calls scripts/setup and full-prod-build
calls scripts/bundle-status-go.sh both for iOS and Android, and then
triggers prod-build.

Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
This commit is contained in:
criw 2018-03-09 01:13:28 +01:00 committed by Julien Eluard
parent 5fc4bddfe5
commit 25ac067375
No known key found for this signature in database
GPG Key ID: 6FD7DB5437FCBEF6
1 changed files with 8 additions and 0 deletions

View File

@ -26,6 +26,9 @@ HELP_FUN = \
# Main targets
setup: ##@prepare Install all the requirements for status-react
./scripts/setup
prepare: ##@prepare Install dependencies and prepare workspace
lein deps
npm install
@ -50,6 +53,11 @@ release-ios: prod-build-ios ##@build build release for iOS release
prod-build:
lein prod-build
full-prod-build: ##@build build prod for both Android and iOS
./scripts/bundle-status-go.sh ios
./scripts/bundle-status-go.sh android
$(MAKE) prod-build
prod-build-android:
lein prod-build-android