From 038c3b6466a778136d286bd772f5803071dee5ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Mon, 11 Sep 2017 22:59:26 +0200 Subject: [PATCH] update build script --- build_web.sh | 18 +++--------------- front-end | 2 +- 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/build_web.sh b/build_web.sh index 06eeb78..1975ab5 100755 --- a/build_web.sh +++ b/build_web.sh @@ -3,23 +3,11 @@ echo "-- Preparing WWW files --" [[ -e html ]] && rm -r html -mkdir -p html/img -mkdir -p html/js -mkdir -p html/css cd front-end -sh ./build.sh +ESP_PROD=1 sh ./build.sh cd .. -cp front-end/out/* html/ +echo "Copying from submodule..." -cp front-end/js/app.js html/js/ -cp front-end/css/app.css html/css/ - -cp front-end/img/* html/img/ -cp front-end/favicon.ico html/favicon.ico - -# cleanup -find html/ -name "*.orig" -delete -find html/ -name "*.xcf" -delete -find html/ -name "*~" -delete +cp -r front-end/out html diff --git a/front-end b/front-end index e3944df..2b93ced 160000 --- a/front-end +++ b/front-end @@ -1 +1 @@ -Subproject commit e3944df189deda418034d74eddec7b86569a3104 +Subproject commit 2b93cedd3fca3350cfa0ca8aef92630ca5fe8501