Skip to content

Commit

Permalink
Tooling: Fix mockgen to use go install (libopenstorage#2362)
Browse files Browse the repository at this point in the history
Signed-off-by: Grant Griffiths <[email protected]>
  • Loading branch information
Grant Griffiths authored Oct 16, 2023
1 parent 7e190d1 commit fdbdcd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -422,8 +422,8 @@ sdk-check-version:
go run tools/sdkver/sdkver.go --check-major=0 --check-patch=0

mockgen:
GO111MODULE=off go get github.com/golang/mock/gomock
GO111MODULE=off go get github.com/golang/mock/mockgen
go install github.com/golang/mock/gomock
go install github.com/golang/mock/mockgen@v1.6.0
mockgen -destination=api/mock/mock_storagepool.go -package=mock github.com/libopenstorage/openstorage/api OpenStoragePoolServer,OpenStoragePoolClient
mockgen -destination=api/mock/mock_cluster.go -package=mock github.com/libopenstorage/openstorage/api OpenStorageClusterServer,OpenStorageClusterClient
mockgen -destination=api/mock/mock_node.go -package=mock github.com/libopenstorage/openstorage/api OpenStorageNodeServer,OpenStorageNodeClient
Expand Down

0 comments on commit fdbdcd2

Please sign in to comment.