Init project

This commit is contained in:
2019-11-03 11:33:16 +03:00
commit 3b93c725a3
14 changed files with 181 additions and 0 deletions

9
tools/ameba Executable file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -eu
docker run -it \
-u "$(id -u):$(id -g)" \
-v "$PWD:/app" \
-w "/app" \
dayoff-crystal ./bin/ameba "$@"

15
tools/crystal Executable file
View File

@ -0,0 +1,15 @@
#!/usr/bin/env bash
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 "$@"

9
tools/shards Executable file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -eu
docker run -it \
-u "$(id -u):$(id -g)" \
-v "$PWD:/app" \
-w "/app" \
dayoff-crystal shards "$@"