cleanup and refactor

This commit is contained in:
Timur Gordon
2025-11-13 14:41:30 +01:00
parent 4b516d9d7e
commit 2625534152
29 changed files with 2662 additions and 3276 deletions

View File

@@ -32,22 +32,22 @@ else
exit 1
fi
# Build UI
printf "📦 UI (WASM)... "
cd "$PROJECT_DIR/ui"
# # Build UI
# printf "📦 UI (WASM)... "
# cd "$PROJECT_DIR/ui"
if ! command -v trunk &> /dev/null; then
echo "⚠️ (trunk not installed)"
echo " Install with: cargo install trunk"
else
if trunk build --release > /tmp/supervisor-build-ui.log 2>&1 & spinner $!; wait $!; then
echo "✅"
else
echo "❌"
echo " Error: Build failed. Run 'cd $PROJECT_DIR/ui && trunk build --release' for details"
exit 1
fi
fi
# if ! command -v trunk &> /dev/null; then
# echo "⚠️ (trunk not installed)"
# echo " Install with: cargo install trunk"
# else
# if trunk build --release > /tmp/supervisor-build-ui.log 2>&1 & spinner $!; wait $!; then
# echo "✅"
# else
# echo "❌"
# echo " Error: Build failed. Run 'cd $PROJECT_DIR/ui && trunk build --release' for details"
# exit 1
# fi
# fi
echo ""
echo "✅ All builds completed"