Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vtopc committed Sep 15, 2024
1 parent 42556b9 commit fdc553c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

PACKAGE := github.com/mailgun/mailgun-go

NILAWAY = $(GOPATH)/bin/nilaway
$(NILAWAY):
go install go.uber.org/nilaway/cmd/nilaway@latest

.PHONY: all
all:
export GO111MODULE=on; go test . -v
Expand All @@ -15,10 +19,6 @@ godoc:
echo -e "open http://localhost:6060/pkg/${PACKAGE}\n"
GOROOT=/tmp/tmpgoroot/ GOPATH=/tmp/tmpgopath/ godoc -http=localhost:6060

NILAWAY = $(GOPATH)/bin/nilaway
$(NILAWAY):
go install go.uber.org/nilaway/cmd/nilaway@latest

.PHONY: nilaway
nilaway: $(NILAWAY)
$(NILAWAY) -include-pkgs="github.com/mailgun/maverick-score" -test=false ./...
$(NILAWAY) -include-pkgs="$(PACKAGE)" -test=false -exclude-errors-in-files=mock_ ./...

0 comments on commit fdc553c

Please sign in to comment.