government / Makefile

@ 0fff601606926403bf0266dd4ab33726a7814f2d | 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