refactoring
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Simon Vieille 2022-08-24 11:40:55 +02:00
parent c2e83aa2ba
commit 59c0342bd7
Signed by: deblan
GPG Key ID: 579388D585F70417
2 changed files with 2 additions and 2 deletions

View File

@ -1,11 +1,11 @@
build: fmt
CGO_ENABLED=0 go build -ldflags '-s -w' -v -o bin/mugo ./
CGO_ENABLED=0 go build -ldflags '-s -w' -v -o bin/mugo ./src
tool-gofumpt:
which golangci-lint > /dev/null 2>&1 || go install mvdan.cc/gofumpt@latest
fmt: tool-gofumpt
gofumpt -w --extra .
gofumpt -w --extra ./
.ONESHELL:
run-code-quality-analysis: