]> jfr.im git - irc/quakenet/qwebirc.git/blobdiff - clean.py
Split up about.html lines.
[irc/quakenet/qwebirc.git] / clean.py
old mode 100644 (file)
new mode 100755 (executable)
index d371bd7..6722d42
--- a/clean.py
+++ b/clean.py
@@ -6,11 +6,16 @@ from bin.cleanpyc import tryunlink
 for x in pages.UIs:
   for y in glob.glob(os.path.join("static", "js", "%s-*.js" % x)):
     tryunlink(y)
-  for y in glob.glob(os.path.join("static", "css", "%s-*.js" % x)):
+  for y in glob.glob(os.path.join("static", "css", "%s-*.css" % x)):
     tryunlink(y)
+  tryunlink("static", "css", x + ".css")
   tryunlink("static", "%s.html" % x)
   tryunlink("static", "%sdebug.html" % x)  
-
+  tryunlink(".checked")
+  tryunlink(".compiled")
+  tryunlink("bin", ".checked")
+  tryunlink("bin", ".compiled")
+  
 if __name__ == "__main__":
   tryunlink("static", "js", "qwebirc.js")
   cleanpyc.main()