Add make format task
This commit is contained in:
parent
89a68f5fb2
commit
cc44a2fcb9
4
Makefile
4
Makefile
|
@ -1,4 +1,5 @@
|
|||
DEPS = $(shell go list -f '{{range .TestImports}}{{.}} {{end}}' ./...)
|
||||
PACKAGES = $(shell go list ./...)
|
||||
|
||||
all: deps
|
||||
@mkdir -p bin/
|
||||
|
@ -18,6 +19,9 @@ test: deps
|
|||
integ:
|
||||
go list ./... | INTEG_TESTS=yes xargs -n1 go test
|
||||
|
||||
format:
|
||||
go fmt $(PACKAGES)
|
||||
|
||||
web:
|
||||
./scripts/website_run.sh
|
||||
|
||||
|
|
Loading…
Reference in New Issue