2019-10-03 19:56:03 +00:00
|
|
|
.PHONY: test
|
|
|
|
default: test
|
|
|
|
|
|
|
|
.PHONY: build
|
|
|
|
build:
|
|
|
|
|
|
|
|
minitor-go:
|
|
|
|
go build
|
|
|
|
|
|
|
|
.PHONY: run
|
|
|
|
run: minitor-go
|
2019-10-04 23:05:25 +00:00
|
|
|
./minitor-go -debug
|
2019-10-03 19:56:03 +00:00
|
|
|
|
|
|
|
.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
|