ESPTerm - ESP8266 terminal emulator. Branches: [master] patches, [work] next release
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
echo "-- Preparing WWW files --"
|
|
|
|
|
|
|
|
[[ -e html ]] && rm -r html
|
|
|
|
mkdir -p html/img
|
|
|
|
mkdir -p html/js
|
|
|
|
mkdir -p html/css
|
|
|
|
|
|
|
|
cd html_orig
|
|
|
|
sh ./packjs.sh
|
|
|
|
sh ./packcss.sh
|
|
|
|
php ./build_html.php
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
cp html_orig/js/app.js html/js/
|
|
|
|
cp html_orig/css/app.css html/css/
|
|
|
|
|
|
|
|
cp html_orig/img/* html/img/
|
|
|
|
cp html_orig/favicon.ico html/favicon.ico
|
|
|
|
|
|
|
|
# cleanup
|
|
|
|
find html/ -name "*.orig" -delete
|
|
|
|
find html/ -name "*.xcf" -delete
|
|
|
|
find html/ -name "*~" -delete
|