Ian Fijolek
ac8ab9ef43
Not as good as a proper logging system, but still provids a bit of control over log verbosity
23 lines
276 B
Makefile
23 lines
276 B
Makefile
.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
|