mirror of
https://github.com/home-assistant/frontend.git
synced 2025-12-24 12:49:19 +00:00
Build hassio panel (#1184)
* Fix hass.io panel * Add develop scripts * Build hassio on Travis
This commit is contained in:
20
script/develop
Executable file
20
script/develop
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
# Run the frontend development server
|
||||
|
||||
# Stop on errors
|
||||
set -e
|
||||
|
||||
OUTPUT_DIR=hass_frontend
|
||||
|
||||
rm -rf $OUTPUT_DIR
|
||||
cp -r public $OUTPUT_DIR
|
||||
|
||||
./node_modules/.bin/gulp build-translations authorize authorize-es5
|
||||
|
||||
# Icons
|
||||
script/update_mdi.py
|
||||
|
||||
# Stub the service worker
|
||||
touch $OUTPUT_DIR/service_worker.js
|
||||
|
||||
./node_modules/.bin/webpack --watch --progress
|
||||
Reference in New Issue
Block a user