1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2024-12-26 00:21:36 +01:00
foris-js/Makefile

18 lines
476 B
Makefile
Raw Permalink Normal View History

.PHONY: all create-messages update-messages clean
all:
@echo "make create-messages"
@echo " Create locale messages (.pot)."
@echo "make update-messages"
@echo " Update locale messages from .pot file."
@echo "make clean"
@echo " Remove python artifacts and virtualenv."
create-messages:
pybabel extract -F babel.cfg -o ./translations/forisjs.pot .
update-messages:
pybabel update -i translations/forisjs.pot -d translations
clean:
rm -rf node_modules dist