Files
Nils Knappmeier a57b6824e0 add webpack test
2019-08-31 21:00:14 +02:00

16 lines
303 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