Files
handlebars.js/integration-testing/webpack-babel-test/test.sh
T
2019-11-25 23:01:36 +01:00

17 lines
304 B
Bash
Executable File

#!/bin/bash
set -e
# Cleanup: package-lock and "npm ci" is not working with local dependencies
rm dist package-lock.json -rf
npm install
npm run build
for i in dist/*-test.js ; do
echo "----------------------"
echo "-- Running $i"
echo "----------------------"
node "$i"
echo "Success"
done