ESPTerm web interface submodule, separated to make testing and development easier
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.
 
 
 
 
 
espterm-front-end/build.sh

25 lines
440 B

#!/bin/bash
echo "Packing JS..."
cat jssrc/chibi.js \
jssrc/keymaster.js \
jssrc/utils.js \
jssrc/modal.js \
jssrc/notif.js \
jssrc/appcommon.js \
jssrc/lang.js \
jssrc/wifi.js \
jssrc/term_* \
jssrc/term.js > js/app-full.js
yuicompressor js/app-full.js > js/app.js
echo "Building CSS..."
sass --style=compressed sass/app.scss css/app.css
echo "Building HTML..."
php ./build_html.php
echo "ESPTerm front-end ready"