mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-25 22:10:10 +00:00
Add node_modules to PATH in test script
This commit is contained in:
parent
ece554e58f
commit
648748cd24
@ -12,6 +12,9 @@ SRCROOT=$(cd "$(dirname "$0")/.." && pwd)
|
|||||||
# Start current working directory at the root of the project.
|
# Start current working directory at the root of the project.
|
||||||
cd "$SRCROOT"
|
cd "$SRCROOT"
|
||||||
|
|
||||||
|
# Add node_modules to PATH just in case we weren't called from `npm test`
|
||||||
|
PATH="$PWD/node_modules/.bin:$PATH"
|
||||||
|
|
||||||
if [[ $TARGET = *-android ]]; then
|
if [[ $TARGET = *-android ]]; then
|
||||||
# Inform the prepublish script to build Android modules.
|
# Inform the prepublish script to build Android modules.
|
||||||
export REALM_BUILD_ANDROID=1
|
export REALM_BUILD_ANDROID=1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user