Simplify exlude of folder when running make messages

This commit is contained in:
Yohan Boniface 2023-05-30 17:36:59 +02:00
parent c42a08b3bc
commit 7c2b7ac309

View file

@ -16,7 +16,7 @@ compilemessages:
umap compilemessages
umap generate_js_locale
messages:
umap makemessages -l en --ignore node_modules --ignore umap_project.egg-info --ignore __pycache__ --ignore umap/tests
cd umap && umap makemessages -l en
node node_modules/leaflet-i18n/bin/i18n.js --dir_path=umap/static/umap/js/ --dir_path=umap/static/umap/vendors/measurable/ --locale_dir_path=umap/static/umap/locale/ --locale_codes=en --mode=json --clean --default_values
vendors:
mkdir -p umap/static/umap/vendors/leaflet/ && cp -r node_modules/leaflet/dist/** umap/static/umap/vendors/leaflet/