summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2019-08-11 19:59:06 -0600
committermo khan <mo@mokhan.ca>2019-08-11 19:59:06 -0600
commit0a34895b7c7efe693c062066c3b017f1915edeb1 (patch)
tree57e37dd05693cbac587b4dfbd1414c6c206e26d9 /bin
parenteedc248825ea08840158bdacc145dcd1229daaf5 (diff)
add test script to run docker build locally
Diffstat (limited to 'bin')
-rwxr-xr-xbin/test6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/test b/bin/test
new file mode 100755
index 0000000..69b4d6c
--- /dev/null
+++ b/bin/test
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+IMAGE=$(basename $PWD)
+
+docker build . -t $IMAGE
+docker run $IMAGE bundle exec rake publish