use tox in update-locales.sh
The current script did not work, it works with tox.
This commit is contained in:
parent
1ed6387c62
commit
a70a976608
13
tox.ini
13
tox.ini
|
@ -108,6 +108,19 @@ commands =
|
|||
./getlasso3.sh
|
||||
./authentic2-ctl {posargs:--help}
|
||||
|
||||
|
||||
[testenv:update-locales]
|
||||
usedevelop = True
|
||||
setenv =
|
||||
DJANGO_SETTINGS_MODULE=authentic2.settings
|
||||
deps =
|
||||
psycopg2-binary
|
||||
commands =
|
||||
./getlasso3.sh
|
||||
./authentic2-ctl makemessages
|
||||
./authentic2-ctl compilemessages
|
||||
|
||||
|
||||
[testenv:code-style]
|
||||
skip_install = true
|
||||
deps =
|
||||
|
|
|
@ -1,8 +1,3 @@
|
|||
#!/bin/sh
|
||||
VENV=/tmp/$USER-authentic2-update-locales
|
||||
virtualenv $VENV
|
||||
. $VENV/bin/activate
|
||||
pip install -e .
|
||||
./getlasso.sh
|
||||
./authentic2-ctl makemessages
|
||||
./authentic2-ctl compilemessages
|
||||
|
||||
tox -e update-locales
|
||||
|
|
Loading…
Reference in New Issue