Makefile 244 B

12345678910111213141516
  1. all: monkey
  2. monkey:
  3. go build -o monkey main.go
  4. clean:
  5. rm -f coverage.out main monkey waiig15
  6. cover: coverage.out
  7. go tool cover -html=coverage.out
  8. coverage.out:
  9. make test
  10. test:
  11. go test -covermode=count -coverprofile=coverage.out ./...