From 4375d794ada360e73b0a6a14b1f13b68598cacfe Mon Sep 17 00:00:00 2001 From: dickeyxxx Date: Thu, 18 Sep 2014 09:52:03 -0700 Subject: [PATCH] added test step to Makefile --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) 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 $@