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,14 +34,25 @@
 mv -v "${PKGDIR}" "${PKGVERDIR}"
 cd "${PKGVERDIR}"
 
-# Remove the debug locale, it's not useful in the released version
-rm -rf ./locale/zz_Debug
+# Remove the gitignore files
+find . -iname '.gitignore' -exec rm {} ';'
 
 # Build the translations
 ./util/msgfmt.sh
 
+# Minify javascript
+./util/minify.sh
+
+# Remove requirejs compressor after we've used it, no need to redistribute it
+rm -Rf lib/requirejs
+rm -Rf lib/closure
+rm -Rf lib/rhino
+
 # Remove the utility scripts
 rm -rf ./util
+
+# Remove test classes
+rm -rf ./test
 
 cd ..
 

comments