Renamed build_polymer to build_frontend
This commit is contained in:
parent
98c2f1ea42
commit
bb23f57f96
3 changed files with 5 additions and 7 deletions
10
build_frontend
Executable file
10
build_frontend
Executable file
|
@ -0,0 +1,10 @@
|
|||
# To build the frontend, you need node, bower and vulcanize
|
||||
# npm install -g bower vulcanize
|
||||
cd homeassistant/components/http/www_static/polymer
|
||||
bower install
|
||||
cd ..
|
||||
cp polymer/bower_components/platform/platform.js polymer_platform.js
|
||||
vulcanize -o frontend.html --inline polymer/splash-login.html
|
||||
cd ..
|
||||
echo '""" DO NOT MODIFY. Auto-generated by build_frontend script """' > frontend.py
|
||||
echo 'VERSION = "'`md5 -q www_static/frontend.html`'"' >> frontend.py
|
Loading…
Add table
Add a link
Reference in a new issue