also relete hidden files and directories

This commit is contained in:
Manuel Friedli 2016-06-27 01:12:12 +02:00
parent f6a24858d0
commit 7d774e6f6a

View file

@ -16,6 +16,7 @@ esac
echo "Dest: '${destination}'" echo "Dest: '${destination}'"
rm -rf "${destination}/*" rm -rf "${destination}/*"
rm -rf "${destination}/.??*"
mkdir -p "${destination}/dist" mkdir -p "${destination}/dist"
cp -a index.html manifest.appcache info resources "${destination}" cp -a index.html manifest.appcache info resources "${destination}"
cp -a dist/*.min.* "${destination}/dist" cp -a dist/*.min.* "${destination}/dist"