na loucura
This commit is contained in:
parent
bea9090ecb
commit
95604a71f0
|
@ -45,12 +45,12 @@ android_library(
|
|||
|
||||
android_build_config(
|
||||
name = "build_config",
|
||||
package = "com.rocketchatrn",
|
||||
package = "chat.rocket.reactnative",
|
||||
)
|
||||
|
||||
android_resource(
|
||||
name = "res",
|
||||
package = "com.rocketchatrn",
|
||||
package = "chat.rocket.reactnative",
|
||||
res = "src/main/res",
|
||||
)
|
||||
|
||||
|
|
|
@ -94,7 +94,7 @@ android {
|
|||
buildToolsVersion "25.0.1"
|
||||
|
||||
defaultConfig {
|
||||
applicationId "com.rocketchatrn"
|
||||
applicationId "chat.rocket.reactnative"
|
||||
minSdkVersion 16
|
||||
targetSdkVersion 22
|
||||
versionCode 1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.rocketchatrn"
|
||||
package="chat.rocket.reactnative"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0">
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package com.rocketchatrn;
|
||||
package chat.rocket.reactnative;
|
||||
|
||||
import com.facebook.react.ReactActivity;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package com.rocketchatrn;
|
||||
package chat.rocket.reactnative;
|
||||
|
||||
import android.app.Application;
|
||||
|
||||
|
|
16
circle.yml
16
circle.yml
|
@ -2,12 +2,13 @@ machine:
|
|||
xcode:
|
||||
version: '9.0'
|
||||
environment:
|
||||
YARN_VERSION: 0.18.1
|
||||
# Needed for Android SDK installation bash script (see below)
|
||||
PATH: "${PATH}:${HOME}/.yarn/bin:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"
|
||||
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError"'
|
||||
XCODE_SCHEME: "RocketChatRN"
|
||||
XCODE_WORKSPACE: "platforms/ios"
|
||||
XCODE_PROJECT: "RocketChatRN.xcodeproj"
|
||||
XCODE_WORKSPACE: "${XCODE_PROJECT}/project.xcworkspace"
|
||||
XCODE_PROJECT: "${HOME}/${CIRCLE_PROJECT_REPONAME}/ios/RocketChatRN.xcodeproj"
|
||||
XCODE_SCHEME: "${XCODE_PROJECT}/xcshareddata/xcschemes/RocketChatRN.xcschemeRocketChatRN"
|
||||
|
||||
dependencies:
|
||||
pre:
|
||||
|
@ -23,6 +24,9 @@ dependencies:
|
|||
- mkdir -p ~/.gradle
|
||||
# Install node modules
|
||||
- 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
|
||||
|
@ -34,12 +38,6 @@ dependencies:
|
|||
- /usr/local/android-sdk-linux/platforms/android-25
|
||||
- /usr/local/android-sdk-linux/build-tools/25.0.0
|
||||
- /usr/local/android-sdk-linux/extras/android/m2repository
|
||||
test:
|
||||
override:
|
||||
- ./node_modules/.bin/react-native bundle --platform android --dev true --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
|
||||
|
||||
deployment:
|
||||
production: # just a label; label names are completely up to you
|
||||
branch: master
|
||||
|
|
Loading…
Reference in New Issue