Merge pull request #655 from realm/rt/build-without-by-default
Do not build node with sync by default
This commit is contained in:
commit
4b0f5f41e6
|
@ -123,7 +123,7 @@ case "$TARGET" in
|
||||||
;;
|
;;
|
||||||
"react-tests")
|
"react-tests")
|
||||||
if ! [ -z "${JENKINS_HOME}" ]; then
|
if ! [ -z "${JENKINS_HOME}" ]; then
|
||||||
${SRCROOT}/scripts/reset-simulators.sh
|
${SRCROOT}/scripts/reset-simulators.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pushd tests/react-test-app
|
pushd tests/react-test-app
|
||||||
|
@ -137,9 +137,9 @@ case "$TARGET" in
|
||||||
;;
|
;;
|
||||||
"react-example")
|
"react-example")
|
||||||
if ! [ -z "${JENKINS_HOME}" ]; then
|
if ! [ -z "${JENKINS_HOME}" ]; then
|
||||||
${SRCROOT}/scripts/reset-simulators.sh
|
${SRCROOT}/scripts/reset-simulators.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pushd examples/ReactExample
|
pushd examples/ReactExample
|
||||||
|
|
||||||
npm install
|
npm install
|
||||||
|
@ -186,10 +186,11 @@ case "$TARGET" in
|
||||||
download_server
|
download_server
|
||||||
start_server
|
start_server
|
||||||
npm_tests_cmd="npm run test"
|
npm_tests_cmd="npm run test"
|
||||||
|
npm install --build-from-source --realm_enable_sync
|
||||||
else
|
else
|
||||||
npm_tests_cmd="npm run test-nosync"
|
npm_tests_cmd="npm run test-nosync"
|
||||||
|
npm install --build-from-source
|
||||||
fi
|
fi
|
||||||
npm install --build-from-source
|
|
||||||
|
|
||||||
# Change to a temp directory.
|
# Change to a temp directory.
|
||||||
cd "$(mktemp -q -d -t realm.node.XXXXXX)"
|
cd "$(mktemp -q -d -t realm.node.XXXXXX)"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
"conditions": [
|
"conditions": [
|
||||||
["OS=='mac'", {
|
["OS=='mac'", {
|
||||||
"variables": {
|
"variables": {
|
||||||
"realm_enable_sync%": "1"
|
"realm_enable_sync%": "0"
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"variables": {
|
"variables": {
|
||||||
|
|
Loading…
Reference in New Issue