]> git.scottworley.com Git - inverse-tax/blob - test.sh
Start
[inverse-tax] / test.sh
1 #!/bin/bash
2
3 set -e
4
5 test_js=
6 cleanup() {
7 if [[ "$test_js" && -e "$test_js" ]];then
8 rm -rf "$test_js"
9 fi
10 }
11 trap cleanup EXIT
12 test_js=$(mktemp)
13
14 cat *.js > "$test_js"
15
16 node "$test_js"