summaryrefslogtreecommitdiff
path: root/GNUmakefile
blob: ca8c718ff50af87bfc75f7ff22b0f0f6b27e6833 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
default: build

build: gofmtcheck
	go install

testacc: build 
	bash tests/run_acceptance_test.sh
vet:
	@echo "go vet ."
	@go vet $$(go list ./... | grep -v vendor/) ; if [ $$? -eq 1 ]; then \
		echo ""; \
		echo "Vet found suspicious constructs. Please check the reported constructs"; \
		echo "and fix them if necessary before submitting the code for review."; \
		exit 1; \
	fi

gofmtcheck:
	bash travis/gofmtcheck.sh

.PHONY: build testacc vet fmt