aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/build.py b/build.py
new file mode 100644
index 0000000..8be53f6
--- /dev/null
+++ b/build.py
@@ -0,0 +1,12 @@
+import os, os.path, zipfile
+
+xpi = zipfile.ZipFile('redirector-2.0.xpi','w')
+for (root, folders, files) in os.walk('.'):
+ if not '.svn' in root:
+ for f in files:
+ if not f.endswith(('.xpi', '.bat', '.py')):
+ xpi.write(os.path.join(root[2:],f))
+
+xpi.close()
+
+