mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
18 lines
390 B
Makefile
18 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
|