MailHog/Makefile

32 lines
584 B
Makefile
Raw Normal View History

2014-04-28 00:42:05 +00:00
DEPS = $(go list -f '{{range .TestImports}}{{.}} {{end}}' ./...)
2014-10-29 15:00:04 +00:00
all: deps bindata fmt
2014-04-28 00:42:05 +00:00
go install
2014-10-29 15:00:04 +00:00
bindata:
go-bindata assets/...
2014-04-28 00:42:05 +00:00
test: test-deps
go list ./... | xargs -n1 go test
release: release-deps
gox
2014-10-29 15:00:04 +00:00
fmt:
go fmt ./...
2014-04-28 00:42:05 +00:00
deps:
go get github.com/ian-kent/gotcha/...
2014-10-29 15:00:04 +00:00
go get github.com/ian-kent/go-log/log
2014-10-29 16:59:59 +00:00
go get github.com/ian-kent/envconf
2014-04-28 00:42:05 +00:00
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
2014-10-29 15:00:04 +00:00
.PNONY: all test deps bindata release fmt test-deps release-deps