From 77b85b58dc29b1be78002afb6f9a83547ed041cd Mon Sep 17 00:00:00 2001 From: Gabriel Delavald Date: Tue, 31 Oct 2017 20:16:43 -0200 Subject: [PATCH] android home --- circle.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index c33f05057..369d84b05 100644 --- a/circle.yml +++ b/circle.yml @@ -6,7 +6,6 @@ machine: environment: YARN_VERSION: 0.18.1 # Needed for Android SDK installation bash script (see below) - ANDROID_HOME: "/usr/local/Cellar/android-sdk" PATH: "${PATH}:${HOME}/.yarn/bin:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin" GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError"' @@ -26,6 +25,8 @@ dependencies: - ./node_modules/.bin/react-native bundle --platform android --dev false --entry-file index.android.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/ - cd android && ./gradlew assembleRelease - mv ./android/app/build/outputs/ $CIRCLE_ARTIFACTS + - cp -r android/app/build/outputs $CIRCLE_ARTIFACTS + cache_directories: # Let's speed up the next build by cacheing installed dependencies - ~/.yarn