mirror of
https://gitlab.com/ric_harvey/MailHog.git
synced 2024-12-03 19:24:04 +00:00
18 lines
297 B
Makefile
18 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
|