Remove debug locale when packing
[gitphp.git] / util / pack.sh
blob:a/util/pack.sh -> blob:b/util/pack.sh
--- a/util/pack.sh
+++ b/util/pack.sh
@@ -34,11 +34,20 @@
 mv -v "${PKGDIR}" "${PKGVERDIR}"
 cd "${PKGVERDIR}"
 
+# Remove the gitignore files
+find . -iname '.gitignore' -exec rm {} ';'
+
 # Remove the debug locale, it's not useful in the released version
 rm -rf ./locale/zz_Debug
 
 # Build the translations
 ./util/msgfmt.sh
+
+# Minify javascript
+./util/minify.sh
+
+# Remove yuicompressor after we've used it, no need to redistribute it
+rm -Rf lib/yuicompressor
 
 # Remove the utility scripts
 rm -rf ./util

comments