From 0973b58a596cce626e9ace2752d390fbc11a1067 Mon Sep 17 00:00:00 2001 From: Einar Egilsson Date: Mon, 19 Oct 2009 09:10:21 +0000 Subject: Build script git-svn-id: http://einaregilsson.googlecode.com/svn/mozilla/redirector/trunk@279 119bf307-c92d-0410-89bd-8f53e6181181 --- build.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 build.py 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() + + -- cgit v1.2.3-70-g09d2