government / Makefile

@ b9cb2994f443455b061cf4e3054f9b89234f78a0 | 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