tox.ini: add update-locales target

This commit is contained in:
Benjamin Dauvergne 2021-07-30 14:46:46 +02:00
parent bee6b57876
commit 12efc02102
1 changed files with 9 additions and 0 deletions

View File

@ -65,3 +65,12 @@ commands =
authentic: py.test {env:JUNIT:} {env:FAST:} {env:COVERAGE:} {env:NOMIGRATIONS:} {posargs:tests_authentic/}
passerelle: py.test {env:JUNIT:} {env:COVERAGE:} {env:NOMIGRATIONS:} {posargs:tests_passerelle/}
black: pre-commit run black --all-files --show-diff-on-failure
[testenv:update-locales]
setenv =
DJANGO_SETTINGS_MODULE=hobo.settings
deps =
commands =
./getlasso3.sh
./manage.py makemessages --add-location=file
./manage.py compilemessages