aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorLeonid <logvinov.leon@gmail.com>2017-06-06 20:04:14 +0800
committerGitHub <noreply@github.com>2017-06-06 20:04:14 +0800
commit0b700deb01ea044d53ae80ee483aa75262dcff07 (patch)
tree738b5aac18f18c40b5b4152f8c8fe70811c03af6 /scripts
parentbf66a43ca81f799446fe031a972721f4352470b5 (diff)
parent899de0b94f6dee75ea1e3934620ce8c108aea65b (diff)
downloaddexon-sol-tools-0b700deb01ea044d53ae80ee483aa75262dcff07.tar
dexon-sol-tools-0b700deb01ea044d53ae80ee483aa75262dcff07.tar.gz
dexon-sol-tools-0b700deb01ea044d53ae80ee483aa75262dcff07.tar.bz2
dexon-sol-tools-0b700deb01ea044d53ae80ee483aa75262dcff07.tar.lz
dexon-sol-tools-0b700deb01ea044d53ae80ee483aa75262dcff07.tar.xz
dexon-sol-tools-0b700deb01ea044d53ae80ee483aa75262dcff07.tar.zst
dexon-sol-tools-0b700deb01ea044d53ae80ee483aa75262dcff07.zip
Merge pull request #37 from 0xProject/umd-ci
Add script to run UMD tests
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/test_umd.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/test_umd.sh b/scripts/test_umd.sh
new file mode 100755
index 000000000..d200c76d0
--- /dev/null
+++ b/scripts/test_umd.sh
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+# This script runs umd tests and cleans up after them while preserving the `return_code` for CI
+# UMD tests should only be run after building the commonjs because they reuse some of the commonjs build artifacts
+run-s substitute_umd_bundle run_mocha
+return_code=$?
+npm run clean
+exit $return_code