File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,8 +34,7 @@ Illustrates:
3434Run the shell script to start Embabel under Spring Shell:
3535
3636``` bash
37- cd scripts
38- ./shell.sh
37+ ./scripts/shell.sh
3938```
4039
4140There is a single example agent, ` WriteAndReviewAgent ` .
Original file line number Diff line number Diff line change 11@ echo off
22setlocal
33
4- set AGENT_APPLICATION = ..
4+ set " script_dir = %~dp0 "
5+ set AGENT_APPLICATION = %script_dir% .."
56
6- call .\ support\agent.bat
7+ call " %script_dir% support\agent.bat"
78
89endlocal
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- export AGENT_APPLICATION=..
3+ script_dir=$( dirname " $0 " )
4+
5+ export AGENT_APPLICATION=" ${script_dir} /.."
46
57# export MAVEN_PROFILE=enable-mcp
68
7- . /support/check_env.sh || exit 1
9+ " $script_dir /support/check_env.sh" || exit 1
810
9- cd ..
11+ cd " $AGENT_APPLICATION "
1012mvn -Dmaven.test.skip=true spring-boot:run
You can’t perform that action at this time.
0 commit comments