Refactor home scripts to be wrappers around component scripts
- Simplified build.sh to call individual component build scripts - Refactored run.sh to call component run scripts with live log display - Each service gets color-coded prefix ([SUPER], [OSIRS], [COORD]) - Run script keeps running and displays interleaved logs from all services - Added proper signal handling for graceful shutdown of all services - Updated README with new architecture and usage examples
This commit is contained in:
20
scripts/build.sh
Executable file
20
scripts/build.sh
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# Hero System Build Script - Wrapper
|
||||
# Calls build.sh in each component repo
|
||||
|
||||
HERO_BASE="/Users/timurgordon/code/git.ourworld.tf/herocode"
|
||||
|
||||
echo "Building Hero System components..."
|
||||
|
||||
# Build coordinator
|
||||
"$HERO_BASE/herocoordinator/scripts/build.sh"
|
||||
|
||||
# Build supervisor
|
||||
"$HERO_BASE/supervisor/scripts/build.sh"
|
||||
|
||||
# Build osiris runner
|
||||
"$HERO_BASE/runner_rust/scripts/build.sh"
|
||||
|
||||
echo "✅ All Hero System components built successfully"
|
||||
Reference in New Issue
Block a user