mirror of
https://blitiri.com.ar/repos/chasquid
synced 2026-10-28 15:02:28 +00:00
make: Run go fix on make fmt
The `fmt` make target does some auto-formatting (gofmt, black) and vetting (go vet); this patch makes it include go fix too, to help us keep the codebase updated to modern features and standards.
This commit is contained in:
@@ -58,6 +58,7 @@ install-config-skeleton:
|
|||||||
fmt:
|
fmt:
|
||||||
go vet ./...
|
go vet ./...
|
||||||
gofmt -s -w .
|
gofmt -s -w .
|
||||||
|
go fix ./...
|
||||||
clang-format -i $(shell find . -iname '*.proto')
|
clang-format -i $(shell find . -iname '*.proto')
|
||||||
black -l 79 \
|
black -l 79 \
|
||||||
test/util/check-hostaliases \
|
test/util/check-hostaliases \
|
||||||
|
|||||||
Reference in New Issue
Block a user