change structure

This commit is contained in:
Gabriel Delavald 2017-10-31 20:09:40 -02:00
parent a4888f84df
commit f61bbd68eb
1 changed files with 4 additions and 10 deletions

View File

@ -22,7 +22,10 @@ dependencies:
# The Android Gradle build will need the Android signing keystore keys setup
- mkdir -p ~/.gradle
# Install node modules
- yarn install
- yarn
- ./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
cache_directories:
# Let's speed up the next build by cacheing installed dependencies
- ~/.yarn
@ -30,12 +33,3 @@ dependencies:
- vendor/bundle
- node_modules
- ~/Library/Caches/CocoaPods
deployment:
beta:
branch: qa
commands:
- yarn
- ./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