diff --git a/scripts/run-qa-agent.sh b/scripts/run-qa-agent.sh index a3f9c9e..23e21bd 100755 --- a/scripts/run-qa-agent.sh +++ b/scripts/run-qa-agent.sh @@ -1,4 +1,10 @@ #!/usr/bin/env bash set -euo pipefail cd "$(dirname "$0")/.." + +if [[ ! -f ./shellforge ]]; then + echo "[run-qa-agent] Building shellforge..." + go build -o shellforge ./cmd/shellforge +fi + exec ./shellforge qa "${1:-.}" diff --git a/scripts/run-report-agent.sh b/scripts/run-report-agent.sh index 6c7ef17..f66967f 100755 --- a/scripts/run-report-agent.sh +++ b/scripts/run-report-agent.sh @@ -1,4 +1,10 @@ #!/usr/bin/env bash set -euo pipefail cd "$(dirname "$0")/.." + +if [[ ! -f ./shellforge ]]; then + echo "[run-report-agent] Building shellforge..." + go build -o shellforge ./cmd/shellforge +fi + exec ./shellforge report "${1:-.}"