From 5c08427ca0440193fc304c3405f8f56c079a0773 Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Thu, 26 Jan 2023 16:43:19 -0700 Subject: [PATCH] Add utility script to run nightly spec --- util/nightly.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 util/nightly.sh diff --git a/util/nightly.sh b/util/nightly.sh new file mode 100755 index 0000000..460a839 --- /dev/null +++ b/util/nightly.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env sh +set -e + +readonly image=crystallang/crystal:nightly +readonly code=/project + +docker run -it -v "$PWD:${code}" -w "${code}" "${image}" crystal spec "$@"