mirror of https://github.com/k3s-io/k3s
17 lines
223 B
Makefile
17 lines
223 B
Makefile
|
SHELL="/bin/bash"
|
||
|
|
||
|
GOFILES_NOVENDOR = $(shell go list ./... | grep -v /vendor/)
|
||
|
|
||
|
all: vet fmt test
|
||
|
|
||
|
fmt:
|
||
|
go fmt $(GOFILES_NOVENDOR)
|
||
|
|
||
|
vet:
|
||
|
go vet $(GOFILES_NOVENDOR)
|
||
|
|
||
|
test: vet
|
||
|
./scripts/test_all.sh
|
||
|
|
||
|
.PHONY: all vet test
|