mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Remove old dev scripts
This commit is contained in:
parent
c861622748
commit
87961c1c53
@ -1,17 +0,0 @@
|
|||||||
# Builds the JS for production
|
|
||||||
|
|
||||||
# If current pwd is scripts, go 1 up.
|
|
||||||
if [ ${PWD##*/} == "scripts" ]; then
|
|
||||||
cd ..
|
|
||||||
fi
|
|
||||||
|
|
||||||
cd homeassistant/components/frontend/www_static/polymer/home-assistant-js
|
|
||||||
|
|
||||||
npm install
|
|
||||||
|
|
||||||
if [ "$1" = "demo" ]; then
|
|
||||||
echo "Building a demo mode build!"
|
|
||||||
npm run demo
|
|
||||||
else
|
|
||||||
npm run prod
|
|
||||||
fi
|
|
@ -1,11 +0,0 @@
|
|||||||
# Builds the JS for developing, rebuilds when files change
|
|
||||||
|
|
||||||
# If current pwd is scripts, go 1 up.
|
|
||||||
if [ ${PWD##*/} == "scripts" ]; then
|
|
||||||
cd ..
|
|
||||||
fi
|
|
||||||
|
|
||||||
cd homeassistant/components/frontend/www_static/polymer/home-assistant-js
|
|
||||||
|
|
||||||
npm install
|
|
||||||
npm run dev
|
|
Loading…
x
Reference in New Issue
Block a user