]> git.mxchange.org Git - hub.git/blob - package.sh
Noisy debug line added + check if start and end markers are set.
[hub.git] / package.sh
1 #!/bin/sh
2
3 NAME=hub_dev_`date +%Y%m%d_%H%M%S`.zip
4
5 sh ./clear-cache.sh
6
7 echo -n "$0: Packaging... "
8 zip -9 $NAME docs/* Doxyfile *.php *.sh > /dev/null 2>&1
9 echo -n "."
10 zip -9r $NAME application/ db/ devel/ Doxyfile inc/ templates/ tests/ > /dev/null 2>&1
11 echo -n "."
12 zip -d $NAME docs/warn.log db/*/*.serialized > /dev/null 2>&1
13 echo ". done"
14 echo "$0: All done."