Pass build arguments to build_html and build_js

box-drawing
cpsdqs 7 years ago
parent e72ad6282f
commit f9b11bdc30
Signed by untrusted user: cpsdqs
GPG Key ID: 3F59586BB7448DD1
  1. 2
      _build_html.sh
  2. 2
      _build_js.sh
  3. 4
      build.sh

@ -3,4 +3,4 @@ source "_build_common.sh"
echo 'Building HTML...' echo 'Building HTML...'
php ./compile_html.php php ./compile_html.php $@

@ -3,7 +3,7 @@ source "_build_common.sh"
mkdir -p out/js mkdir -p out/js
echo 'Generating lang.js...' echo 'Generating lang.js...'
php ./dump_js_lang.php php ./dump_js_lang.php $@
echo 'Processing JS...' echo 'Processing JS...'
npm run webpack npm run webpack

@ -7,8 +7,8 @@ source "_build_common.sh"
rm -fr out/* rm -fr out/*
./_build_css.sh ./_build_css.sh
./_build_js.sh ./_build_js.sh $@
./_build_html.sh ./_build_html.sh $@
./_build_assets.sh ./_build_assets.sh
echo 'ESPTerm front-end ready' echo 'ESPTerm front-end ready'

Loading…
Cancel
Save