Skip to content
Snippets Groups Projects
Commit fe379ff7 authored by Will McCutchen's avatar Will McCutchen
Browse files

Run go-bindata before running tests

parent ecdf97bf
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment