Skip to content

Commit

Permalink
Add recipe to generate mock
Browse files Browse the repository at this point in the history
  • Loading branch information
nakabonne committed Nov 1, 2020
1 parent aeed60f commit ccb9426
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

.PHONY: test
test:
go test -race -v -coverpkg=./... -covermode=atomic -coverprofile=coverage.txt ./...

.PHONY: mockgen
mockgen:
mockgen -source=./gui/widgets.go -destination=./gui/widgets.mock.go -package=gui

0 comments on commit ccb9426

Please sign in to comment.