Update tox.ini for pot files not in tree
The translation import fails since we do not store pot files in tree anymore. Replace the "git checkout" after testing message extracting with a simple rm. Note that we cannot use a wildcard in tox.ini for the rm, instead give full names. This is a followup to Ief0861e01ff758120001f4c8dfdbf9afadf09f5b. Change-Id: I0fc59a444cfca9ffdf7e7eaa73ba321295c2aa2e
This commit is contained in:
parent
bd8b52cbcd
commit
654dfb7f5d
8
tox.ini
8
tox.ini
|
@ -69,13 +69,15 @@ commands =
|
|||
# Only checks to see if translation files can be extracted and cleans afterwards
|
||||
usedevelop = True
|
||||
whitelist_externals =
|
||||
git
|
||||
rm
|
||||
setenv =
|
||||
{[testenv]setenv}
|
||||
commands =
|
||||
{[testenv:extractmessages]commands}
|
||||
git checkout -- horizon/locale/django*.pot
|
||||
git checkout -- openstack_dashboard/locale/django*.pot
|
||||
rm horizon/locale/django.pot
|
||||
rm horizon/locale/djangojs.pot
|
||||
rm openstack_dashboard/locale/django.pot
|
||||
rm openstack_dashboard/locale/djangojs.pot
|
||||
|
||||
[testenv:compilemessages]
|
||||
usedevelop = False
|
||||
|
|
Loading…
Reference in New Issue