mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 11:34:45 +00:00
Jakub Sokołowski
b51b565cdb
- remove unused android-ndk toolchains - add build.sh and test target for easy testing of image - separate generic parts into a base image - pass keystore credentials via env variables Signed-off-by: Jakub Sokołowski <jakub@status.im>
24 lines
408 B
Bash
Executable File
24 lines
408 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e -x
|
|
|
|
export FASTLANE_DISABLE_COLORS=1
|
|
export REALM_DISABLE_ANALYTICS=1
|
|
export YARN_CACHE_FOLDER=/var/tmp/yarn
|
|
export NPM_CONFIG_CACHE=/var/tmp/npm
|
|
export HOME=/tmp
|
|
|
|
make clean
|
|
## Prep
|
|
bundle install --quiet
|
|
make prepare-android
|
|
## Lint
|
|
lein cljfmt check
|
|
## Test
|
|
lein test-cljs
|
|
## Build
|
|
lein prod-build-android
|
|
# Compile
|
|
cd android
|
|
./gradlew assembleDebug -Dorg.gradle.daemon=false
|