2016-01-11 17:42:26 +00:00
|
|
|
#!/bin/bash
|
2016-01-26 23:16:33 +00:00
|
|
|
|
|
|
|
set -o pipefail
|
|
|
|
set -e
|
|
|
|
|
|
|
|
PATH="/opt/android-sdk-linux/platform-tools:$PATH"
|
|
|
|
|
2016-01-11 17:42:26 +00:00
|
|
|
rm -rf node_modules/realm node_modules/realm-tests
|
|
|
|
npm install realm realm-tests
|
2016-01-26 23:16:33 +00:00
|
|
|
|
2016-01-15 20:34:51 +00:00
|
|
|
cp ../../src/object-store/parser/queryTests.json node_modules/realm-tests/query-tests.json
|
2016-01-26 23:16:33 +00:00
|
|
|
|
|
|
|
adb reverse tcp:8081 tcp:8081
|
|
|
|
adb forward tcp:8082 tcp:8082
|
|
|
|
|
2016-01-11 17:42:26 +00:00
|
|
|
react-native run-android
|