Even more conflicting calls fixed
[shipsimu.git] / package.sh
1 #!/bin/sh
2
3 echo "$0: Cleaning up..."
4 rm -f shipsimu_dev*.zip
5
6 echo "$0: Packaging..."
7 zip -9 shipsimu_dev.zip docs/* Doxyfile *.php *.sh > /dev/null 2>&1
8 zip -9r shipsimu_dev.zip application/ db/ devel/ Doxyfile inc/ templates/ tests/ > /dev/null 2>&1
9 zip -d shipsimu_dev.zip docs/warn.log db/user/*.serialized templates/images/_cache/*.png application/ship-simu/templates/images/_cache/*.png > /dev/null 2>&1
10
11 echo "$0: Renaming..."
12 mv shipsimu_dev.zip shipsimu_dev_`date +%Y%m%d_%H%M%S`.zip
13
14 echo "$0: All done."