| 1 |
# nested-logrus-formatter |
| 2 |
|
| 3 |
.PHONY: all |
| 4 |
all: test demo |
| 5 |
|
| 6 |
.PHONY: test |
| 7 |
test: |
| 8 |
go test ./tests/* -v -count 1 |
| 9 |
|
| 10 |
cover: |
| 11 |
go test ./tests/* -v -covermode=count -coverprofile=coverage.out |
| 12 |
|
| 13 |
.PHONY: demo |
| 14 |
demo: |
| 15 |
go run example/main.go |