neko/dev/fmt
Miroslav Šedivý ae117ccdbb fix dev scripts.
2024-06-16 16:26:42 +02:00

13 lines
293 B
Bash
Executable File

#!/bin/bash
cd "$(dirname "$0")"
if [ "$(docker images -q neko_server_build 2> /dev/null)" == "" ]; then
echo "Image 'neko_server_build' not found. Run ./build first."
exit 1
fi
docker run -it --rm \
--entrypoint="go" \
-v "${PWD}/../:/src" \
neko_server_build fmt ./...