Some CSS id/class fixes
[shipsimu.git] / package.sh
index 4dc471418f4d6f54023527eb275a972fe3cc1c5b..aeb7db305a54d5f37641d73ebac6b1adb9993e1c 100755 (executable)
@@ -1,12 +1,14 @@
 #!/bin/sh
 
-echo "$0: Cleaning up..."
-rm -f shipsimu_dev*.zip
+sh ./clear-cache.sh
 
-echo "$0: Packaging..."
+echo -n "$0: Packaging... "
 zip -9 shipsimu_dev.zip docs/* Doxyfile *.php *.sh > /dev/null 2>&1
+echo -n "."
 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
+echo -n "."
+zip -d shipsimu_dev.zip docs/warn.log db/*/*.serialized > /dev/null 2>&1
+echo ". done"
 
 echo "$0: Renaming..."
 mv shipsimu_dev.zip shipsimu_dev_`date +%Y%m%d_%H%M%S`.zip