projects
/
mailer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed all true/false to TRUE/FALSE respectively as PHP constants are better than...
[mailer.git]
/
package.sh
diff --git
a/package.sh
b/package.sh
old mode 100644
(file)
new mode 100755
(executable)
index
8487e7b
..
0c8dddb
--- a/
package.sh
+++ b/
package.sh
@@
-1,16
+1,14
@@
#!/bin/sh
#!/bin/sh
+NAME=mailer_dev_`date +%Y%m%d_%H%M%S`.zip
+
sh ./clear-cache.sh
echo -n "$0: Packaging... "
sh ./clear-cache.sh
echo -n "$0: Packaging... "
-zip -9
mxchange-0.3.0_dev.zip
docs/* Doxyfile *.php *.sh > /dev/null 2>&1
+zip -9
$NAME
docs/* Doxyfile *.php *.sh > /dev/null 2>&1
echo -n "."
echo -n "."
-zip -9r
mxchange-0.3.0_dev.zip
application/ db/ devel/ Doxyfile inc/ templates/ tests/ > /dev/null 2>&1
+zip -9r
$NAME
application/ db/ devel/ Doxyfile inc/ templates/ tests/ > /dev/null 2>&1
echo -n "."
echo -n "."
-zip -d
mxchange-0.3.0_dev.zip
docs/warn.log db/*/*.serialized > /dev/null 2>&1
+zip -d
$NAME
docs/warn.log db/*/*.serialized > /dev/null 2>&1
echo ". done"
echo ". done"
-
-echo "$0: Renaming..."
-mv mxchange-0.3.0_dev.zip mxchange-0.3.0_dev_`date +%Y%m%d_%H%M%S`.zip
-
echo "$0: All done."
echo "$0: All done."