mirror of
https://gitlab.com/ric_harvey/MailHog.git
synced 2024-12-18 10:27:16 +00:00
17 lines
258 B
Makefile
17 lines
258 B
Makefile
|
all: bindata fmt ui
|
||
|
|
||
|
ui:
|
||
|
go install .
|
||
|
|
||
|
bindata: bindata-deps
|
||
|
-rm assets/assets.go
|
||
|
go-bindata -o assets/assets.go -pkg assets assets/...
|
||
|
|
||
|
bindata-deps:
|
||
|
go get github.com/jteeuwen/go-bindata/...
|
||
|
|
||
|
fmt:
|
||
|
go fmt ./...
|
||
|
|
||
|
.PNONY: all ui bindata bindata-deps fmt
|