government / Makefile

@ 68160212362299a3894c7ae88d7b2c018f5cc3aa | 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