mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-11 06:46:03 +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.
|
||||
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
|
||||
# Inform the prepublish script to build Android modules.
|
||||
export REALM_BUILD_ANDROID=1
|
||||
|
Loading…
x
Reference in New Issue
Block a user