From b9fe75d297116ed9c91cd312c5fc9fef2d1ef329 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 18 Jun 2023 12:13:13 +0300 Subject: add go-task dev --- Taskfile.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Taskfile.yml') diff --git a/Taskfile.yml b/Taskfile.yml index d910237..49cfde2 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -4,9 +4,15 @@ tasks: build: cmds: - go build -o gogios cmd/gogios/main.go - check: + dev: + deps: ["vet", "lint"] + cmds: + - go build -race -o gogios cmd/gogios/main.go + vet: cmds: - go vet **/*.go + lint: + cmds: - golangci-lint run lint-install: cmds: -- cgit v1.2.3