From 8bbd99aea98da3104c9418d61e1ba43df0c19b56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Espino?= Date: Thu, 29 Nov 2018 17:19:26 +0100 Subject: [PATCH] Adding make i18n-extract command to the makefile (#9909) --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index a14df038eb..4cc4ff061d 100644 --- a/Makefile +++ b/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`.'