]> jfr.im git - irc/quakenet/qwebirc.git/blobdiff - bin/compile.py
tidy up autobahn support -- now requires 0.17.2
[irc/quakenet/qwebirc.git] / bin / compile.py
index 482255ddb6bebb5c425bb4796191d307bfb00ce1..1f37c54763431484b1e30bf50e8db0218ea2e740 100644 (file)
@@ -61,13 +61,15 @@ def merge_files(output, files, root_path=lambda x: x):
   f = open(output, "wb")
 
   for x in files:
+    if x.startswith("//"):
+      continue
     f2 = open(root_path(x), "rb")
     f.write(f2.read() + "\n")
     f2.close()
   f.close()
 
 def main(outputdir=".", produce_debug=True):
-  ID = pagegen.gethgid()
+  ID = pagegen.getgitid()
   
   pagegen.main(outputdir, produce_debug=produce_debug)