add mmjstool as dev dep (#2707)

* add mmjstool as dev dep

* run the mmjstool to fix issues

* add extra line

* update makefile

* update per feedback

* revert strings per request
This commit is contained in:
Carlos Tadeu Panato Junior
2019-04-09 15:35:22 +02:00
committed by GitHub
parent d1ca9b874a
commit 9ae71cf393
4 changed files with 972 additions and 25 deletions

View File

@@ -237,9 +237,7 @@ can-build-pr:
fi
i18n-extract: ## Extract strings for translation from the source code
@[[ -d $(MM_UTILITIES_DIR) ]] || echo "You must clone github.com/mattermost/mattermost-utilities repo in .. to use this command"
@[[ -d $(MM_UTILITIES_DIR) ]] && cd $(MM_UTILITIES_DIR) && npm install && npm run babel && node mmjstool/build/index.js i18n extract-mobile
npm run mmjstool -- i18n extract-mobile
## Help documentation https://marmelab.com/blog/2016/02/29/auto-documented-makefile.html
help: