File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ source "$(dirname "${BASH_SOURCE[0]}")/lib.sh"
8
8
# Check required dependencies
9
9
dependencies claude gotestsum awk go
10
10
11
+ # Ensure we're in the project root
12
+ cdroot
13
+
11
14
# Default timeout in seconds (10 minutes)
12
15
TIMEOUT=${1:- 600}
13
16
MAX_ITERATIONS=10
@@ -30,21 +33,11 @@ cleanup() {
30
33
# Set up cleanup on exit
31
34
trap cleanup EXIT
32
35
33
- # Colors for output
34
- RED=' \033[0;31m'
36
+ # Colors for output (keeping these for success/warn which lib.sh doesn't have)
35
37
GREEN=' \033[0;32m'
36
38
YELLOW=' \033[1;33m'
37
- BLUE=' \033[0;34m'
38
39
NC=' \033[0m' # No Color
39
40
40
- log () {
41
- echo -e " ${BLUE} [aitest]${NC} $1 " >&2
42
- }
43
-
44
- error () {
45
- echo -e " ${RED} [aitest ERROR]${NC} $1 " >&2
46
- }
47
-
48
41
success () {
49
42
echo -e " ${GREEN} [aitest SUCCESS]${NC} $1 " >&2
50
43
}
You can’t perform that action at this time.
0 commit comments