Adding make i18n-extract command to the makefile (#9909)

This commit is contained in:
Jesús Espino
2018-11-29 17:19:26 +01:00
committed by Christopher Speller
parent ba0a9b4d50
commit 8bbd99aea9

View File

@@ -283,6 +283,10 @@ ifeq ($(BUILD_ENTERPRISE_READY),true)
$(GOPATH)/bin/megacheck $(EE_PACKAGES) || exit 1
endif
i18n-extract: ## Extract strings for translation from the source code
go get -u github.com/mattermost/mattermost-utilities/mmgotool
$(GOPATH)/bin/mmgotool i18n extract
store-mocks: ## Creates mock files.
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`.'