mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
3bc4b00e69
git-subtree-dir: src/dashbls git-subtree-split: 66ee820fbc9e3b97370db8c164904af48327a124
16 lines
272 B
Bash
Executable File
16 lines
272 B
Bash
Executable File
#!/bin/sh
|
|
|
|
YARN=yarn
|
|
if which yarn >/dev/null ; then
|
|
YARN=yarn
|
|
else
|
|
if which npm >/dev/null ; then
|
|
YARN=npm
|
|
else
|
|
echo "No yarn or npm installed."
|
|
exit 1
|
|
fi
|
|
fi
|
|
|
|
cd js_build/js-bindings/tests && ${YARN} install && exec node ./test.js
|