mirror of
https://gitlab.com/ric_harvey/MailHog.git
synced 2024-11-27 16:24:04 +00:00
23 lines
385 B
Makefile
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
|