1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-24 20:35:55 +00:00

Update panel & support panel on devcontainer (#1163)

* Update panel & support panel on devcontainer

* small cleanups

* small size
This commit is contained in:
Pascal Vizeli
2019-07-16 12:23:03 +02:00
committed by GitHub
parent 08c45060bd
commit 8d84a8a62e
82 changed files with 123 additions and 56 deletions

18
script/update-frontend.sh Normal file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
set -e
# Update frontend
git submodule update --init --recursive --remote
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
cd home-assistant-polymer
nvm install
script/bootstrap
# build frontend
cd hassio
./script/build_hassio
# Copy frontend
rm -f ../../hassio/api/panel/chunk.*
cp -rf build/* ../../hassio/api/panel/