]> git.mxchange.org Git - shipsimu.git/blob - package.sh
generateUniqueId() and more useless/deprecated methods removed, code speed-up, link...
[shipsimu.git] / package.sh
1 #!/bin/sh
2
3 sh ./clear-cache.sh
4
5 echo "$0: Packaging..."
6 zip -9 shipsimu_dev.zip docs/* Doxyfile *.php *.sh > /dev/null 2>&1
7 zip -9r shipsimu_dev.zip application/ db/ devel/ Doxyfile inc/ templates/ tests/ > /dev/null 2>&1
8 zip -d shipsimu_dev.zip docs/warn.log db/*/*.serialized > /dev/null 2>&1
9
10 echo "$0: Renaming..."
11 mv shipsimu_dev.zip shipsimu_dev_`date +%Y%m%d_%H%M%S`.zip
12
13 echo "$0: All done."