Skip to content

Commit

Permalink
Specify version for mockgen package (#232)
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
  • Loading branch information
mickmister and hanzei authored Oct 26, 2021
1 parent 564c17f commit 2f66ad9
Show file tree
Hide file tree
Showing 11 changed files with 312 additions and 302 deletions.
2 changes: 1 addition & 1 deletion build/custom.mk
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ GO_BUILD_FLAGS = -ldflags '$(LDFLAGS)'
# Generates mock golang interfaces for testing
mock:
ifneq ($(HAS_SERVER),)
go install github.com/golang/mock/mockgen
go install github.com/golang/mock/mockgen@v1.6.0
mockgen -destination server/jobs/mock_cluster/mock_cluster.go github.com/mattermost/mattermost-plugin-api/cluster JobPluginAPI
mockgen -destination server/mscalendar/mock_mscalendar/mock_mscalendar.go github.com/mattermost/mattermost-plugin-mscalendar/server/mscalendar MSCalendar
mockgen -destination server/mscalendar/mock_welcomer/mock_welcomer.go -package mock_welcomer github.com/mattermost/mattermost-plugin-mscalendar/server/mscalendar Welcomer
Expand Down
31 changes: 16 additions & 15 deletions server/jobs/mock_cluster/mock_cluster.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2f66ad9

Please sign in to comment.