government / Makefile

@ 5679446275e9c90525ed7267e7f42f633296e7a1 | history


.PHONY: check test vet fmt

check: fmt vet test

test:
	go test ./...

vet:
	go vet ./...

fmt:
	@unformatted="$$(gofmt -l .)"; \
	if [ -n "$$unformatted" ]; then echo "gofmt needed:"; echo "$$unformatted"; exit 1; fi