24 lines
252 B
Makefile
24 lines
252 B
Makefile
|
GO ?= go
|
||
|
|
||
|
.PHONY: fmt
|
||
|
fmt:
|
||
|
$(GO) fmt ./...
|
||
|
|
||
|
.PHONY: generate
|
||
|
generate:
|
||
|
$(GO) generate ./...
|
||
|
|
||
|
.PHONY: test
|
||
|
test:
|
||
|
$(GO) test -race ./...
|
||
|
|
||
|
.PHONY: vet
|
||
|
vet:
|
||
|
$(GO) vet ./...
|
||
|
|
||
|
.PHONY: build
|
||
|
build:
|
||
|
$(GO) build
|
||
|
|
||
|
.PHONY: build-all
|
||
|
build-all: generate build
|