add step build and test to Makefile

This commit is contained in:
Anton Lindström 2014-05-20 06:02:59 +00:00
parent a8d90ab434
commit 31c2148d2b
1 changed files with 7 additions and 1 deletions

View File

@ -1,7 +1,13 @@
all: get-deps
all: get-deps build
build:
@go build pgstore.go
get-deps:
@go get -d -v ./...
test:
@go test ./...
format:
@go fmt ./...