diff options
author | Chris Porter <slug@quakenet.org> | 2009-02-01 01:40:27 (GMT) |
---|---|---|
committer | Chris Porter <slug@quakenet.org> | 2009-02-01 01:40:27 (GMT) |
commit | 968a0975e6fd3187242829bf32189bce4d7cbb6e (patch) | |
tree | 023cf5e9467965ee707ca64693b9dacb2a0bb595 /clean.py | |
parent | 0f00b75f6ef73ef0cbe11d44af5fa013203a6f1a (diff) |
Cleanup compiling code and add clean/mkstatic.
Move authgate.
Diffstat (limited to 'clean.py')
-rw-r--r-- | clean.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/clean.py b/clean.py new file mode 100644 index 0000000..e14d027 --- /dev/null +++ b/clean.py @@ -0,0 +1,13 @@ +#!/usr/bin/env python + +import pages, os, cleanpyc +from cleanpyc import tryunlink + +for x in pages.UIs: + tryunlink("static", "%s.html" % x) + tryunlink("static", "%sdebug.html" % x) + tryunlink("static", "js", "%s.js" % x) + +if __name__ == "__main__": + tryunlink("static", "js", "qwebirc.js") + cleanpyc.main() |