aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEinar Egilsson2009-10-19 09:10:21 +0000
committerEinar Egilsson2009-10-19 09:10:21 +0000
commit0973b58a596cce626e9ace2752d390fbc11a1067 (patch)
treeab07d182174df8784b6849835479467aacad89f5
parent47812c50d07ba2cc6c18cab1d49bff56047b96e8 (diff)
Build script
git-svn-id: http://einaregilsson.googlecode.com/svn/mozilla/redirector/trunk@279 119bf307-c92d-0410-89bd-8f53e6181181
-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()
+
+