summaryrefslogtreecommitdiff
path: root/bin/setup
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-06-09 14:10:24 -0600
committermo khan <mo@mokhan.ca>2025-06-09 14:10:24 -0600
commit86bb7be6296382af734870bf8724fa67c25ffc5e (patch)
treec4b72dd9a4359083ea6dc5205c4f8a8bfb66fd9c /bin/setup
parent874cb2439e97b58bd622d95e282689bf76f98982 (diff)
chore: add setup script
Diffstat (limited to 'bin/setup')
-rwxr-xr-xbin/setup10
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/setup b/bin/setup
new file mode 100755
index 0000000..6b6e842
--- /dev/null
+++ b/bin/setup
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+[ -n "$DEBUG" ] && set -x
+
+cd "$(dirname "$0")/.."
+
+ruby -v
+bundle check || bundle install