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