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