- Each component now has its own build.sh that builds in release mode - Each component's run.sh calls build.sh first, then starts the service - Coordinator, supervisor, and runner scripts are self-contained - All scripts use RUSTFLAGS="-A warnings" to suppress build warnings - Scripts properly handle configuration via environment variables
12 lines
268 B
Bash
Executable File
12 lines
268 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 Coordinator..."
|
|
cd "$PROJECT_DIR"
|
|
RUSTFLAGS="-A warnings" cargo build --release
|
|
|
|
echo "✅ Hero Coordinator built successfully"
|