new build script

legacy-screen
Ondřej Hruška 7 years ago
parent 75496b8b00
commit 20165f5306
  1. 22
      build.sh
  2. 14
      packjs.sh

@ -0,0 +1,22 @@
#!/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 "ESPTerm front-end ready"

@ -1,14 +0,0 @@
#!/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.js
Loading…
Cancel
Save