[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:
parent
5fc4bddfe5
commit
25ac067375
8
Makefile
8
Makefile
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue