From ac8374fd17e30fca9a7773a2a6f690a7ea4d2ec9 Mon Sep 17 00:00:00 2001 From: Grayson Koonce Date: Wed, 12 Oct 2016 11:04:26 -0700 Subject: Rework as HTTP server (#15) --- Makefile | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d548cd7..d26439a 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,22 @@ +PACKAGES := $(shell glide novendor) + .PHONY: install install: glide --version || go get github.com/Masterminds/glide glide install - go get -u github.com/jteeuwen/go-bindata/... + + +.PHONY: lint +lint: + go vet $(PACKAGES) + $(foreach pkg, $(PACKAGES), golint $(pkg) &&) echo "success" + + +.PHONY: test +test: lint + go test -race $(PACKAGES) .PHONY: run run: - go generate && go build && ./sally + go build -i && ./sally -- cgit v1.2.3