dayoff/tools/crystal

16 lines
172 B
Bash
Executable File

#!/usr/bin/env sh
set -eu
TTY=
if [ -t 1 ] ; then
TTY=-t
fi
docker run -i $TTY \
-u "$(id -u):$(id -g)" \
-v "$PWD:/app" \
-w "/app" \
dayoff-crystal crystal "$@"