Add `prod-build-android` and `prod-build-ios` aliases so that `release-*` make targets only build selected platform
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
This commit is contained in:
parent
f62e5eeaa6
commit
054737017f
10
Makefile
10
Makefile
|
@ -41,15 +41,21 @@ prepare-ios: prepare ##@prepare Install iOS specific dependencies
|
||||||
#----------------
|
#----------------
|
||||||
release: release-android release-ios ##@build build release for Android and iOS
|
release: release-android release-ios ##@build build release for Android and iOS
|
||||||
|
|
||||||
release-android: prod-build ##@build build release for Android
|
release-android: prod-build-android ##@build build release for Android
|
||||||
react-native run-android --variant=release
|
react-native run-android --variant=release
|
||||||
|
|
||||||
release-ios: prod-build ##@build build release for iOS release
|
release-ios: prod-build-ios ##@build build release for iOS release
|
||||||
@echo "Build in XCode, see https://wiki.status.im/TBD for instructions"
|
@echo "Build in XCode, see https://wiki.status.im/TBD for instructions"
|
||||||
|
|
||||||
prod-build:
|
prod-build:
|
||||||
lein prod-build
|
lein prod-build
|
||||||
|
|
||||||
|
prod-build-android:
|
||||||
|
lein prod-build-android
|
||||||
|
|
||||||
|
prod-build-ios:
|
||||||
|
lein prod-build-ios
|
||||||
|
|
||||||
#----------------
|
#----------------
|
||||||
# Dev builds
|
# Dev builds
|
||||||
#----------------
|
#----------------
|
||||||
|
|
|
@ -18,6 +18,12 @@
|
||||||
["do" "clean"
|
["do" "clean"
|
||||||
["with-profile" "prod" "cljsbuild" "once" "ios"]
|
["with-profile" "prod" "cljsbuild" "once" "ios"]
|
||||||
["with-profile" "prod" "cljsbuild" "once" "android"]]
|
["with-profile" "prod" "cljsbuild" "once" "android"]]
|
||||||
|
"prod-build-android" ^{:doc "Recompile code for Android with prod profile."}
|
||||||
|
["do" "clean"
|
||||||
|
["with-profile" "prod" "cljsbuild" "once" "android"]]
|
||||||
|
"prod-build-ios" ^{:doc "Recompile code for iOS with prod profile."}
|
||||||
|
["do" "clean"
|
||||||
|
["with-profile" "prod" "cljsbuild" "once" "ios"]]
|
||||||
"figwheel-repl" ["with-profile" "+figwheel" "run" "-m" "clojure.main" "env/dev/run.clj"]
|
"figwheel-repl" ["with-profile" "+figwheel" "run" "-m" "clojure.main" "env/dev/run.clj"]
|
||||||
"test-cljs" ["with-profile" "test" "doo" "node" "test" "once"]
|
"test-cljs" ["with-profile" "test" "doo" "node" "test" "once"]
|
||||||
"test-protocol" ["with-profile" "test" "doo" "node" "protocol" "once"]
|
"test-protocol" ["with-profile" "test" "doo" "node" "protocol" "once"]
|
||||||
|
|
Loading…
Reference in New Issue