Missing bracket added
[shipsimu.git] / package.sh
1 #!/bin/sh
2
3 sh ./clear-cache.sh
4
5 echo -n "$0: Packaging... "
6 zip -9 shipsimu_dev.zip docs/* Doxyfile *.php *.sh > /dev/null 2>&1
7 echo -n "."
8 zip -9r shipsimu_dev.zip application/ db/ devel/ Doxyfile inc/ templates/ tests/ > /dev/null 2>&1
9 echo -n "."
10 zip -d shipsimu_dev.zip docs/warn.log db/*/*.serialized > /dev/null 2>&1
11 echo ". done"
12
13 echo "$0: Renaming..."
14 mv shipsimu_dev.zip shipsimu_dev_`date +%Y%m%d_%H%M%S`.zip
15
16 echo "$0: All done."