]> git.mxchange.org Git - mailer.git/blobdiff - package.sh
Code syncronized with shipsimu code base
[mailer.git] / package.sh
diff --git a/package.sh b/package.sh
new file mode 100644 (file)
index 0000000..25bf0b4
--- /dev/null
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+sh ./clear-cache.sh
+
+echo -n "$0: Packaging... "
+zip -9 shipsimu-hub_dev.zip docs/* Doxyfile *.php *.sh > /dev/null 2>&1
+echo -n "."
+zip -9r shipsimu-hub_dev.zip application/ db/ devel/ Doxyfile inc/ templates/ tests/ > /dev/null 2>&1
+echo -n "."
+zip -d shipsimu-hub_dev.zip docs/warn.log db/*/*.serialized > /dev/null 2>&1
+echo ". done"
+
+echo "$0: Renaming..."
+mv shipsimu-hub_dev.zip shipsimu-hub_dev_`date +%Y%m%d_%H%M%S`.zip
+
+echo "$0: All done."