ci build fixes for android
This commit is contained in:
parent
a53e802df3
commit
ca3fb62c59
|
@ -47,7 +47,8 @@
|
||||||
"jsdoc": "rm -rf docs/output && jsdoc -c docs/conf.json",
|
"jsdoc": "rm -rf docs/output && jsdoc -c docs/conf.json",
|
||||||
"lint": "eslint",
|
"lint": "eslint",
|
||||||
"test": "scripts/test.sh",
|
"test": "scripts/test.sh",
|
||||||
"install": "node-pre-gyp install --fallback-to-build"
|
"install": "node-pre-gyp install --fallback-to-build",
|
||||||
|
"prepublish": "scripts/prepublish.sh"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"nan": "^2.3.3",
|
"nan": "^2.3.3",
|
||||||
|
|
|
@ -8,5 +8,5 @@ cd "$(dirname "$0")/.."
|
||||||
|
|
||||||
if [ -n "$REALM_BUILD_ANDROID" ]; then
|
if [ -n "$REALM_BUILD_ANDROID" ]; then
|
||||||
rm -rf android
|
rm -rf android
|
||||||
(cd react-native/android && ./gradlew publishAndroid)
|
(cd react-native/android && ./gradlew publishAndroid -PbuildWithSync=true)
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -151,6 +151,7 @@ case "$TARGET" in
|
||||||
;;
|
;;
|
||||||
"react-tests-android")
|
"react-tests-android")
|
||||||
[[ $CONFIGURATION == 'Debug' ]] && exit 0
|
[[ $CONFIGURATION == 'Debug' ]] && exit 0
|
||||||
|
XCPRETTY=false
|
||||||
|
|
||||||
pushd tests/react-test-app
|
pushd tests/react-test-app
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue