Skip to content
This repository has been archived by the owner on Jan 25, 2018. It is now read-only.

Commit

Permalink
real script for updating locales (bug 854582)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy McKay committed Mar 26, 2013
1 parent 73e61d2 commit f70b562
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/update/update.py
Expand Up @@ -42,6 +42,12 @@ def update_code(ctx, ref='origin/master'):
ctx.local("git submodule foreach 'git submodule update --init --recursive'")


@task
def update_locales(ctx):
with ctx.lcd(settings.SRC_DIR):
ctx.local('bin/compile-mo.sh locale')


@task
def compress_assets(ctx, arg=''):
with ctx.lcd(settings.SRC_DIR):
Expand Down Expand Up @@ -91,6 +97,7 @@ def deploy(ctx):
def pre_update(ctx, ref=settings.UPDATE_REF):
ctx.local('date')
update_code(ref)
update_locales()
update_info(ref)


Expand Down

0 comments on commit f70b562

Please sign in to comment.