Update mockery before generate mocks (#9250)

Этот коммит содержится в:
Jesús Espino
2018-08-14 18:10:57 +02:00
коммит произвёл Joram Wilander
родитель 620d55810d
Коммит 54846fdad2

Просмотреть файл

@@ -275,15 +275,15 @@ gofmt: ## Runs gofmt against all packages.
@echo "gofmt success"; \
store-mocks: ## Creates mock files.
go get github.com/vektra/mockery/...
go get -u github.com/vektra/mockery/...
$(GOPATH)/bin/mockery -dir store -all -output store/storetest/mocks -note 'Regenerate this file using `make store-mocks`.'
ldap-mocks: ## Creates mock files for ldap.
go get github.com/vektra/mockery/...
go get -u github.com/vektra/mockery/...
$(GOPATH)/bin/mockery -dir enterprise/ldap -all -output enterprise/ldap/mocks -note 'Regenerate this file using `make ldap-mocks`.'
plugin-mocks: ## Creates mock files for plugins.
go get github.com/vektra/mockery/...
go get -u github.com/vektra/mockery/...
$(GOPATH)/bin/mockery -dir plugin -name API -output plugin/plugintest -outpkg plugintest -case underscore -note 'Regenerate this file using `make plugin-mocks`.'
$(GOPATH)/bin/mockery -dir plugin -name Hooks -output plugin/plugintest -outpkg plugintest -case underscore -note 'Regenerate this file using `make plugin-mocks`.'