- Simplified build.sh to just build in release mode with warning suppression - Updated run.sh to build first, then start supervisor and admin UI together - Run script now starts both supervisor API and admin UI in background - Added proper cleanup handler for graceful shutdown - Removed admin UI compilation errors by fixing JsValue handling - Added list_jobs method to WASM client for admin UI compatibility
11 lines
265 B
Bash
Executable File
11 lines
265 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
|
PROJECT_DIR=$(cd "$SCRIPT_DIR/.." && pwd)
|
|
|
|
echo "Building Hero Supervisor..."
|
|
cd "$PROJECT_DIR"
|
|
RUSTFLAGS="-A warnings" cargo build --release
|
|
|
|
echo "✅ Hero Supervisor built successfully" |