app/django/bin/compile-messages.py
author Mario Ferraro <fadinlight@gmail.com>
Mon, 07 Sep 2009 15:20:49 +0200
changeset 2873 4fb030d43575
parent 323 ff1a9aa48cfd
permissions -rwxr-xr-x
Scripts to run Shrinksafe during build. The function that runs shrinksafe over JS files has been put to a separate shell file to be run standalone without building if needed.

#!/usr/bin/env python

if __name__ == "__main__":
    import sys
    name = sys.argv[0]
    args = ' '.join(sys.argv[1:])
    print >> sys.stderr, "%s has been moved into django-admin.py" % name
    print >> sys.stderr, 'Please run "django-admin.py compilemessages %s" instead.'% args
    print >> sys.stderr
    sys.exit(1)