huskies: merge 523_refactor_introduce_script_test_script_lint_script_build_and_migrate_agent_prompts_off_tech_specific_commands
This commit is contained in:
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
PROJECT_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
|
||||
|
||||
echo "=== Building Rust ==="
|
||||
cargo build --manifest-path "$PROJECT_ROOT/Cargo.toml"
|
||||
|
||||
if [ -d "$PROJECT_ROOT/frontend" ]; then
|
||||
echo "=== Building frontend ==="
|
||||
cd "$PROJECT_ROOT/frontend"
|
||||
npm install
|
||||
npm run build
|
||||
else
|
||||
echo "Skipping frontend build (no frontend directory)"
|
||||
fi
|
||||
Reference in New Issue
Block a user