Adding make i18n-extract command to the makefile (#9909)
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
ba0a9b4d50
Коммит
8bbd99aea9
4
Makefile
4
Makefile
@@ -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`.'
|
||||
|
||||
Ссылка в новой задаче
Block a user