summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGubolin <gubolin@fantasymail.de>2015-01-10 11:26:05 +0100
committerGubolin <gubolin@fantasymail.de>2015-01-10 11:26:05 +0100
commitd7def3bb24465d028dbeb91539f0c98d756da492 (patch)
tree2706db143e6198913fb1565b39c73b874c614f42
parent4d0e06ff5903d7ab56d5e25a71062ff40e0904cc (diff)
downloadsnap-d7def3bb24465d028dbeb91539f0c98d756da492.tar.gz
snap-d7def3bb24465d028dbeb91539f0c98d756da492.zip
don't delete files from binary.sh
-rwxr-xr-xbinary.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/binary.sh b/binary.sh
index c1a481e..212e7cb 100755
--- a/binary.sh
+++ b/binary.sh
@@ -79,10 +79,6 @@ fi
# compress all js files
find . -name '*.js' | xargs -I {} uglifyjs {} -o {} -c
-# delete everything that is not html/js/logo/config
-find . \( \! -name '*.js' \! -name 'snap.html' \! -name 'snap_logo_sm.png' \! -name 'config.xml' \! -name 'package.json' -type f \) -print0 | xargs -0 rm
-find . -type d -empty -print0 | xargs -0 rm -r
-
# return to the directory where the script was called from
cd "$scriptdir"