Add utility script to run nightly spec

This commit is contained in:
Michael Miller 2023-01-26 16:43:19 -07:00
parent 735122a94b
commit 5c08427ca0
No known key found for this signature in database
GPG Key ID: AC78B32D30CE34A2
1 changed files with 7 additions and 0 deletions

7
util/nightly.sh Executable file
View File

@ -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 "$@"