refactoring
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
c2e83aa2ba
commit
59c0342bd7
4
Makefile
4
Makefile
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue