mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-01 14:47:38 +00:00
19 lines
390 B
Makefile
19 lines
390 B
Makefile
|
.PHONY: all test examples ci gofmt
|
||
|
|
||
|
all: ci
|
||
|
|
||
|
ci: test examples
|
||
|
|
||
|
test:
|
||
|
go test -race ./...
|
||
|
go vet ./...
|
||
|
./.check-gofmt.sh
|
||
|
|
||
|
examples:
|
||
|
GOOS=linux go build -o /dev/null example/readline-demo/readline-demo.go
|
||
|
GOOS=windows go build -o /dev/null example/readline-demo/readline-demo.go
|
||
|
GOOS=darwin go build -o /dev/null example/readline-demo/readline-demo.go
|
||
|
|
||
|
gofmt:
|
||
|
./.check-gofmt.sh --fix
|