File:  [mozdev] / annozilla / src / package.sh
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Wed Mar 5 19:27:51 2003 UTC (14 years, 9 months ago) by rainking
Branches: MAIN
CVS tags: HEAD, ANNOZILLA-ES-CHANGES, ANNOZILLA-ES, ANNOZILLA-CGH-CHANGES, ANNOZILLA-0-7-0, ANNOZILLA-0-6-7-BRANCH, ANNOZILLA-0-6-7, ANNOZILLA-0-6-6, ANNOZILLA-0-6-5, ANNOZILLA-0-6-1, ANNOZILLA-0-5-4
 - merged from ANNOTATIONS_SERVICE branch

#!/bin/tcsh -f

# Remove old builds if they exist
if (-e download/annozilla.jar) then 
rm download/annozilla.jar 
endif
if (-e download/annozilla.xpi) then 
rm download/annozilla.xpi 
endif

# create files
mkdir download/bin; mkdir download/bin/chrome
zip -r download/bin/chrome/annozilla.jar content locale -x \*~ -x \*/CVS/\*
zip -r download/annozilla.xpi install.js -x \*~ -x \*/CVS/\*
cd download; zip -g annozilla.xpi bin/chrome/annozilla.jar
mv bin/chrome/annozilla.jar .
rm -rf bin
cd ..

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>