0.91/build.sh
Back to the directory
#!/bin/bash
# because: http://kb.mozillazine.org/Bash_build_script
# is too complicated ;)
x=Notify
rm $x.xpi
mkdir build
cp -r * build/
rm -rf build/build
rm -rf build/www
rm -rf build/old
rm -rf build/.svn
rm -rf build/chrome/.svn
rm -rf build/chrome/content/.svn
rm -rf build/chrome/skin/.svn
rm -rf build/chrome/locale/.svn
rm -rf build/chrome/locale/*/.svn
rm -rf build/components/.svn
rm -rf build/defaults/.svn
rm -rf build/defaults/preferences/.svn
rm build/components/compile_idl.bat
rm build/build.sh
rm build/todo.txt
rm build/Notify?.gif
rm build/notify2.wav
rm build/.htaccess
rm build/http.txt
rm build/Thumbs.db
rm "build/Notify (UMLTool).uml"
cd build/chrome
7z a -tzip $x.jar * -r -mx=0
cd ../..
rm -rf build/chrome/content
rm -rf build/chrome/locale
rm -rf build/chrome/skin
mv build/chrome.manifest2 build/chrome.manifest
cd build
7z a -tzip $x.xpi * -r -mx=9
cd ..
mv build/$x.xpi ./
rm -rf build
read