minitor-go/Makefile
Ian Fijolek ac8ab9ef43 Add debug flag to adjust log verbosity a bit
Not as good as a proper logging system, but still provids a bit of
control over log verbosity
2019-10-04 16:05:25 -07:00

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