Big restructuring - repo is now a full home assistant config directory
This commit is contained in:
26
make_custom_frontend.sh
Executable file
26
make_custom_frontend.sh
Executable 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 ../..
|
||||
|
||||
Reference in New Issue
Block a user