Tool improvements
This commit is contained in:
9
tools/ameba
Executable file
9
tools/ameba
Executable file
@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -eu
|
||||
|
||||
docker run -it \
|
||||
-u "$(id -u):$(id -g)" \
|
||||
-v "$PWD:/app" \
|
||||
-w "/app" \
|
||||
expansion-crystal ./bin/ameba "$@"
|
15
tools/crystal
Executable file
15
tools/crystal
Executable 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" \
|
||||
expansion-crystal crystal "$@"
|
9
tools/shards
Executable file
9
tools/shards
Executable file
@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -eu
|
||||
|
||||
docker run -it \
|
||||
-u "$(id -u):$(id -g)" \
|
||||
-v "$PWD:/app" \
|
||||
-w "/app" \
|
||||
expansion-crystal shards "$@"
|
Reference in New Issue
Block a user