run compilemessages with runtime deps
this fixes the issue compilemessages requires test deps. Partially Implements: blueprint django18 Change-Id: Id942450a02d0df565170b84f2aff0566e0ef1952
This commit is contained in:
parent
682b27220f
commit
0c7b3200d0
@ -435,12 +435,11 @@ function run_makemessages {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function run_compilemessages {
|
function run_compilemessages {
|
||||||
OPTS="--settings=openstack_dashboard.test.settings"
|
|
||||||
cd horizon
|
cd horizon
|
||||||
${command_wrapper} $root/manage.py compilemessages $OPTS
|
${command_wrapper} $root/manage.py compilemessages
|
||||||
HORIZON_PY_RESULT=$?
|
HORIZON_PY_RESULT=$?
|
||||||
cd ../openstack_dashboard
|
cd ../openstack_dashboard
|
||||||
${command_wrapper} $root/manage.py compilemessages $OPTS
|
${command_wrapper} $root/manage.py compilemessages
|
||||||
DASHBOARD_RESULT=$?
|
DASHBOARD_RESULT=$?
|
||||||
cd ..
|
cd ..
|
||||||
# English is the source language, so compiled catalogs are unnecessary.
|
# English is the source language, so compiled catalogs are unnecessary.
|
||||||
|
Loading…
Reference in New Issue
Block a user