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}}' ./...)
|
DEPS = $(shell go list -f '{{range .TestImports}}{{.}} {{end}}' ./...)
|
||||||
|
PACKAGES = $(shell go list ./...)
|
||||||
|
|
||||||
all: deps
|
all: deps
|
||||||
@mkdir -p bin/
|
@mkdir -p bin/
|
||||||
|
@ -18,6 +19,9 @@ test: deps
|
||||||
integ:
|
integ:
|
||||||
go list ./... | INTEG_TESTS=yes xargs -n1 go test
|
go list ./... | INTEG_TESTS=yes xargs -n1 go test
|
||||||
|
|
||||||
|
format:
|
||||||
|
go fmt $(PACKAGES)
|
||||||
|
|
||||||
web:
|
web:
|
||||||
./scripts/website_run.sh
|
./scripts/website_run.sh
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue