fix: correct script directory handling in build_and_test.sh for Rust bridge build
This commit is contained in:
@@ -3,12 +3,14 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||||
|
|
||||||
echo "=== Starworld Build & Test Script ==="
|
echo "=== Starworld Build & Test Script ==="
|
||||||
echo
|
echo
|
||||||
|
|
||||||
# 1. Build the Rust bridge
|
# 1. Build the Rust bridge
|
||||||
echo "[1/3] Building Rust bridge..."
|
echo "[1/3] Building Rust bridge..."
|
||||||
cd "$(dirname "$0")/bridge"
|
cd "$SCRIPT_DIR/bridge"
|
||||||
cargo build --release
|
cargo build --release
|
||||||
echo "✓ Rust bridge built successfully"
|
echo "✓ Rust bridge built successfully"
|
||||||
echo
|
echo
|
||||||
|
|||||||
Reference in New Issue
Block a user