remove junk files from outdir in prod build

cpsdqs/unified-input
Ondřej Hruška 7 years ago
parent 7aef4e2ef7
commit 2b93cedd3f
  1. 10
      build.sh

@ -36,5 +36,15 @@ php ./compile_html.php
echo 'Copying resources...' echo 'Copying resources...'
cp -r img out/img cp -r img out/img
cp favicon.ico out/
if [[ $ESP_PROD ]]; then
echo 'Cleaning junk files...'
find out/ -name "*.orig" -delete
find out/ -name "*.xcf" -delete
find out/ -name "*~" -delete
find out/ -name "*.bak" -delete
find out/ -name "*.map" -delete
fi
echo 'ESPTerm front-end ready' echo 'ESPTerm front-end ready'

Loading…
Cancel
Save