MailHog/Makefile
2014-04-28 01:42:05 +01:00

23 lines
385 B
Makefile

DEPS = $(go list -f '{{range .TestImports}}{{.}} {{end}}' ./...)
all: deps
go-bindata assets/...
go install
test: test-deps
go list ./... | xargs -n1 go test
release: release-deps
gox
deps:
go get github.com/jteeuwen/go-bindata/...
go get labix.org/v2/mgo
test-deps:
go get github.com/stretchr/testify
release-deps:
go get github.com/mitchellh/gox
.PNONY: all test deps