diff options
author | 2016-10-12 11:04:26 -0700 | |
---|---|---|
committer | 2016-10-12 11:04:26 -0700 | |
commit | ac8374fd17e30fca9a7773a2a6f690a7ea4d2ec9 (patch) | |
tree | e9a61adde4bc5eef80583f3e1d6f9379a20b4f99 /Makefile | |
parent | b80c4f3e920994823061eb05dc0a5bc3881ddb02 (diff) | |
download | sally-ac8374fd17e30fca9a7773a2a6f690a7ea4d2ec9.tar.gz sally-ac8374fd17e30fca9a7773a2a6f690a7ea4d2ec9.tar.zst sally-ac8374fd17e30fca9a7773a2a6f690a7ea4d2ec9.zip |
Rework as HTTP server (#15)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 14 insertions, 2 deletions
@@ -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 |