updated unified build script

cpsdqs/unified-input
Ondřej Hruška 7 years ago
parent 7d08250f46
commit 30f6428af0
  1. 7
      build.sh
  2. 5
      packcss.sh
  3. 15
      packjs.sh

@ -11,12 +11,11 @@ cat jssrc/chibi.js \
jssrc/lang.js \ jssrc/lang.js \
jssrc/wifi.js \ jssrc/wifi.js \
jssrc/term_* \ jssrc/term_* \
jssrc/term.js > js/app-full.js jssrc/term.js \
jssrc/soft_keyboard.js | npm run --silent minify > js/app.js
yuicompressor js/app-full.js > js/app.js
echo "Building CSS..." echo "Building CSS..."
sass --style=compressed sass/app.scss css/app.css npm run sass -- --output-style compressed sass/app.scss > css/app.css
echo "ESPTerm front-end ready" echo "ESPTerm front-end ready"

@ -1,5 +0,0 @@
#!/bin/bash
echo "Building css..."
npm run sass -- --output-style compressed sass/app.scss > css/app.css

@ -1,15 +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 \
jssrc/soft_keyboard.js | npm run --silent minify > js/app.js
Loading…
Cancel
Save