From 5a7dfddc388578915726606f575472abda7d6dfb Mon Sep 17 00:00:00 2001 From: juancwu Date: Wed, 29 Apr 2026 00:44:40 +0000 Subject: [PATCH] add Taskfile.yml --- Taskfile.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Taskfile.yml diff --git a/Taskfile.yml b/Taskfile.yml new file mode 100644 index 0000000..7349f58 --- /dev/null +++ b/Taskfile.yml @@ -0,0 +1,23 @@ +# yaml-language-server: $schema=https://taskfile.dev/schema.json +version: '3' +tasks: + default: + desc: List all available commands + cmds: + - task -l + test: + desc: Run tests + cmds: + - set -o pipefail && go test ./... -json | tparse -all + test:race: + desc: Run tests with race detector + cmds: + - set -o pipefail && go test ./... -json -race | tparse -all + fmt: + desc: Format code + cmds: + - go fmt ./... + vet: + desc: Check source code + cmds: + - go vet ./...