mailsrv/Makefile

23 lines
220 B
Makefile

.DEFAULT_GOAL := build
fmt:
go fmt ./...
.PHONY:fmt
lint: fmt
golint ./...
.PHONY:lint
vet: fmt
go vet ./...
shadow ./...
.PHONY:vet
build: vet
go build -o mailsrv
.PHONY:build
test:
go test ./...
.PHONY:test