VictoriaMetrics/vendor/github.com/ergochat/readline/Makefile

19 lines
390 B
Makefile
Raw Normal View History

.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