Update scripts

This commit is contained in:
Pascal Vizeli 2017-05-14 01:31:40 +02:00
parent 05783ea334
commit 6e96cb0b9c
4 changed files with 5 additions and 3 deletions

5
build-scripts/frontend-build-env/run-build.sh Normal file → Executable file
View file

@ -2,6 +2,7 @@
set -e
# build frontend
cd home-assistant-polymer
yarn
./node_modules/.bin/bower install --allow-root
yarn run frontend_prod
@ -11,5 +12,5 @@ cd build-temp/
gzip -f -k -9 ./*.html
# move to frontend
cp -f hassio-main.html ../hassio/panel/
cp -f hassio-main.html.gz ../hassio/panel/
cp -f hassio-main.html ../../hassio/panel/
cp -f hassio-main.html.gz ../../hassio/panel/