mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-27 02:46:47 +01: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
|