refactor(scripts): clean up bash scripts
This commit is contained in:
parent
3950dddfde
commit
f50123a3ec
18 changed files with 241 additions and 261 deletions
|
|
@ -4,9 +4,9 @@ set -e
|
|||
|
||||
cd lib/binding_web
|
||||
|
||||
if [ ! -d "node_modules/chai" ] || [ ! -d "node_modules/mocha" ]; then
|
||||
echo "Installing test dependencies..."
|
||||
if [[ ! -d node_modules/chai ]] || [[ ! -d node_modules/mocha ]]; then
|
||||
printf 'Installing test dependencies...\n'
|
||||
npm install
|
||||
fi
|
||||
|
||||
./node_modules/.bin/mocha
|
||||
node_modules/.bin/mocha
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue