minitor-go/Makefile

23 lines
276 B
Makefile
Raw Normal View History

.PHONY: test
default: test
.PHONY: build
build:
minitor-go:
go build
.PHONY: run
run: minitor-go
./minitor-go -debug
.PHONY: test
test:
go test -coverprofile=coverage.out
go tool cover -func=coverage.out
.PHONY: clean
clean:
rm -f ./minitor-go
rm -f ./coverage.out