government / Makefile

@ 307ad2c9a167e314a75ac46d5ee0382f494bf1cb | 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