mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-04-22 12:17:15 +00:00
18 lines
349 B
Bash
Executable File
18 lines
349 B
Bash
Executable File
#!/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 ../../supervisor/hassio/api/panel/chunk.*
|
|
cp -rf build/* ../../supervisor/api/panel/ |