]> git.mxchange.org Git - shipsimu.git/blobdiff - package.sh
generateUniqueId() and more useless/deprecated methods removed, code speed-up, link...
[shipsimu.git] / package.sh
index 4dc471418f4d6f54023527eb275a972fe3cc1c5b..ec1462d389ee52ab96017d35db3c8a11b3095352 100755 (executable)
@@ -1,12 +1,11 @@
 #!/bin/sh
 
-echo "$0: Cleaning up..."
-rm -f shipsimu_dev*.zip
+sh ./clear-cache.sh
 
 echo "$0: Packaging..."
 zip -9 shipsimu_dev.zip docs/* Doxyfile *.php *.sh > /dev/null 2>&1
 zip -9r shipsimu_dev.zip application/ db/ devel/ Doxyfile inc/ templates/ tests/ > /dev/null 2>&1
-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
+zip -d shipsimu_dev.zip docs/warn.log db/*/*.serialized > /dev/null 2>&1
 
 echo "$0: Renaming..."
 mv shipsimu_dev.zip shipsimu_dev_`date +%Y%m%d_%H%M%S`.zip