summaryrefslogtreecommitdiff
path: root/bin/test
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-09-16 15:58:43 -0600
committermo khan <mo.khan@gmail.com>2020-09-16 15:58:43 -0600
commit902995f01098fe0555d996ea50dfe5b32b094283 (patch)
tree25d5c6e03357cf5346c3838f4b4215886173d68f /bin/test
parentaacf3eb7eafd50a633800d6b2b48a73099da8a8f (diff)
chore: add script to run tests
Diffstat (limited to 'bin/test')
-rwxr-xr-xbin/test10
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/test b/bin/test
new file mode 100755
index 0000000..b139c76
--- /dev/null
+++ b/bin/test
@@ -0,0 +1,10 @@
+#!/bin/bash -l
+
+set -e
+
+cd "$(dirname "$0")/.."
+
+if ! command -v bundle; then
+ ./bin/setup
+fi
+bundle exec rspec "$@" --format=progress