mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Adding make i18n-extract command to the makefile (#9909)
This commit is contained in:
committed by
Christopher Speller
parent
ba0a9b4d50
commit
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`.'
|
||||
|
||||
Reference in New Issue
Block a user