mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-14 16:44:50 +00:00
Update run-android.sh scripts
This commit is contained in:
parent
c92062fb37
commit
f957db3a3a
@ -1,5 +1,14 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -o pipefail
|
||||||
|
set -e
|
||||||
|
|
||||||
|
PATH="/opt/android-sdk-linux/platform-tools:$PATH"
|
||||||
|
|
||||||
rm -rf node_modules/realm
|
rm -rf node_modules/realm
|
||||||
npm install realm
|
npm install realm
|
||||||
|
|
||||||
|
adb reverse tcp:8081 tcp:8081
|
||||||
adb forward tcp:8082 tcp:8082
|
adb forward tcp:8082 tcp:8082
|
||||||
|
|
||||||
react-native run-android
|
react-native run-android
|
||||||
|
@ -1,7 +1,16 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -o pipefail
|
||||||
|
set -e
|
||||||
|
|
||||||
|
PATH="/opt/android-sdk-linux/platform-tools:$PATH"
|
||||||
|
|
||||||
rm -rf node_modules/realm node_modules/realm-tests
|
rm -rf node_modules/realm node_modules/realm-tests
|
||||||
npm install realm realm-tests
|
npm install realm realm-tests
|
||||||
|
|
||||||
cp ../../src/object-store/parser/queryTests.json node_modules/realm-tests/query-tests.json
|
cp ../../src/object-store/parser/queryTests.json node_modules/realm-tests/query-tests.json
|
||||||
/opt/android-sdk-linux/platform-tools/adb reverse tcp:8081 tcp:8081
|
|
||||||
/opt/android-sdk-linux/platform-tools/adb forward tcp:8082 tcp:8082
|
adb reverse tcp:8081 tcp:8081
|
||||||
|
adb forward tcp:8082 tcp:8082
|
||||||
|
|
||||||
react-native run-android
|
react-native run-android
|
||||||
|
Loading…
x
Reference in New Issue
Block a user