зеркало из https://github.com/mozilla/gecko-dev.git
31 строка
968 B
Bash
Executable File
31 строка
968 B
Bash
Executable File
#!/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 *.*
|
|
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_linux.xpi
|
|
mv calendar_linux.xpi ../
|
|
echo "Done."
|
|
|
|
#Windows
|
|
echo "Building Windows xpi..."
|
|
cd ../windows
|
|
find components/ resources/ bin/ install.js \( -name CVS -o -name Makefile -o -name makefile.win -o -name Makefile.in -o -name .cvsignore \) -prune -o -print | xargs zip calendar_windows.xpi
|
|
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 ../
|
|
|