Tiny, but fully loaded test-runner.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
611 B

#!/bin/bash
rm -rf ./es5
mkdir ./es5
echo "----> :: Gunner ::"
echo "----> Browserifying..."
./node_modules/.bin/browserify ./index.js -s Gunner > ./es5/index.js
echo "----> Babelifying..."
./node_modules/.bin/babel --presets env --plugins transform-object-rest-spread ./es5/index.js -o ./es5/index.js
echo "> Done"
echo ""
echo "----> :: Runner ::"
echo "----> Browserifying..."
./node_modules/.bin/browserify ./Runner.js -s Runner > ./es5/Runner.js
echo "----> Babelifying..."
./node_modules/.bin/babel --presets env --plugins transform-object-rest-spread ./es5/Runner.js -o ./es5/Runner.js
echo "> Done"