2002-09-17 19:28:06 +04:00
|
|
|
#!/bin/bash
|
|
|
|
rm -f calendar_windows.xpi
|
|
|
|
rm -f calendar_linux.xpi
|
|
|
|
./createBuildId.pl resources/content/about.html
|
|
|
|
|
|
|
|
#Linux
|
|
|
|
echo "Building Linux xpi..."
|
|
|
|
cd linux/components
|
|
|
|
chmod 644 *.*
|
2003-01-14 00:57:01 +03:00
|
|
|
cd ../
|
|
|
|
find components/ resources/ icons/ ../calendar_pref.js install.js \( -name CVS -o -name Makefile -o -name makefile.win -o -name Makefile.in -o -name test -o -name .cvsignore \) -prune -o -print | xargs zip calendar_linux.xpi
|
2002-09-17 19:28:06 +04:00
|
|
|
mv calendar_linux.xpi ../
|
|
|
|
echo "Done."
|
|
|
|
|
|
|
|
#Windows
|
|
|
|
echo "Building Windows xpi..."
|
|
|
|
cd ../windows
|
2003-01-14 00:57:01 +03:00
|
|
|
find components/ resources/ icons/ ../calendar_pref.js install.js \( -name CVS -o -name Makefile -o -name makefile.win -o -name Makefile.in -o -name test -o -name .cvsignore \) -prune -o -print | xargs zip calendar_windows.xpi
|
2002-09-17 19:28:06 +04:00
|
|
|
mv calendar_windows.xpi ../
|
|
|
|
echo "Done."
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
#Mac
|
|
|
|
#cd ../mac
|
|
|
|
#cd components
|
|
|
|
#chmod 644 *.*
|
|
|
|
#cd ..
|
|
|
|
#find components/ resources/ install.js \( -name CVS -o -name Makefile -o -name makefile.win -o -name Makefile.in -o -name .cvsignore \) -prune -o -print | xargs zip calendar_mac.xpi
|
|
|
|
#mv calendar_mac.xpi ../
|