consolidating scripts
[dygraphs.git] / scripts / build-tests.sh
diff --git a/scripts/build-tests.sh b/scripts/build-tests.sh
new file mode 100755 (executable)
index 0000000..216296d
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/bash
+# Create dist/tests.js
+# To run the tests, run `npm run test`
+# To iterate on the tests, use `npm run watch`
+
+browserify \
+  -v \
+  -t babelify \
+  -t [ envify --NODE_ENV development ] \
+  --debug \
+  -o dist/tests.js \
+  auto_tests/tests/*.js