Big restructuring - repo is now a full home assistant config directory

This commit is contained in:
Martin Bauer
2019-06-30 19:37:32 +02:00
parent d35b9e132e
commit 808727ad92
79 changed files with 14378 additions and 27 deletions

26
make_custom_frontend.sh Executable file
View File

@@ -0,0 +1,26 @@
#!/bin/bash
# ------ Room Glance Card -------------------------
cd custom_frontend_sources/room-glance-card
if [ ! -d "node_modules" ]; then
echo "Installing node_modules"
npm install
fi
npm run build
cp dist/room-glance-card.js ../../www/custom_ui
cd ../..
# ----- State Card Custom Cover --------------------
cd custom_frontend_sources/state-card-custom-cover
if [ ! -d "node_modules" ]; then
echo "Installing node_modules"
npm install
fi
npm run build
cp dist/state-card-custom-cover.js ../../www/custom_ui
cd ../..