This commit is contained in:
parent
c2e83aa2ba
commit
59c0342bd7
4
Makefile
4
Makefile
|
@ -1,11 +1,11 @@
|
||||||
build: fmt
|
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:
|
tool-gofumpt:
|
||||||
which golangci-lint > /dev/null 2>&1 || go install mvdan.cc/gofumpt@latest
|
which golangci-lint > /dev/null 2>&1 || go install mvdan.cc/gofumpt@latest
|
||||||
|
|
||||||
fmt: tool-gofumpt
|
fmt: tool-gofumpt
|
||||||
gofumpt -w --extra .
|
gofumpt -w --extra ./
|
||||||
|
|
||||||
.ONESHELL:
|
.ONESHELL:
|
||||||
run-code-quality-analysis:
|
run-code-quality-analysis:
|
||||||
|
|
Loading…
Reference in a new issue