diff --git a/Makefile b/Makefile index a44f702..e458058 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,8 @@ BIN = forego SRC = $(shell ls *.go) +.PHONY: all build clean install test lint + all: build build: $(BIN) @@ -14,5 +16,8 @@ install: forego lint: $(SRC) go fmt +test: lint + go test ./... -cover + $(BIN): $(SRC) godep go build -o $@