VictoriaMetrics/vendor/github.com/ergochat/readline/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