diff --git a/Makefile b/Makefile index d524a4c5efd019a10a5fced2dc535e9ab4b07846..b70db00389dae62594c03a3e9e204b92b6eb2d95 100644 --- a/Makefile +++ b/Makefile @@ -7,10 +7,10 @@ dist/go-httpbin: assets *.go httpbin/*.go assets: httpbin/assets/* go-bindata -o httpbin/assets.go -pkg=httpbin -prefix=httpbin/assets httpbin/assets -test: +test: assets go test -v github.com/mccutchen/go-httpbin/httpbin -testcover: +testcover: assets mkdir -p dist go test -coverprofile=dist/coverage.out github.com/mccutchen/go-httpbin/httpbin go tool cover -html=dist/coverage.out