mirror of
https://github.com/m1k1o/neko.git
synced 2025-04-29 18:36:22 +02:00
12 lines
287 B
Bash
Executable file
12 lines
287 B
Bash
Executable file
#!/bin/bash
|
|
cd "$(dirname "$0")"
|
|
|
|
if [ "$(docker images -q neko_server:src 2> /dev/null)" == "" ]; then
|
|
echo "Image 'neko_server:src' not found. Run ./build first."
|
|
exit 1
|
|
fi
|
|
|
|
docker run -it --rm \
|
|
--entrypoint="go" \
|
|
-v "${PWD}/../:/src" \
|
|
neko_server:src fmt ./...
|