mirror of
https://gitlab.com/ric_harvey/MailHog.git
synced 2024-12-02 18:54:04 +00:00
17 lines
297 B
Makefile
17 lines
297 B
Makefile
DEPS = $(go list -f '{{range .TestImports}}{{.}} {{end}}' ./...)
|
|
|
|
all: release-deps fmt combined
|
|
|
|
combined:
|
|
go install .
|
|
|
|
release:
|
|
gox -output="build/{{.Dir}}_{{.OS}}_{{.Arch}}" .
|
|
|
|
fmt:
|
|
go fmt ./...
|
|
|
|
release-deps:
|
|
go get github.com/mitchellh/gox
|
|
|
|
.PNONY: all combined release fmt release-deps
|