File size: 580 Bytes
f689c7d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@echo off
setlocal

set "SCRIPT_DIR=%~dp0"
pushd "%SCRIPT_DIR%"

echo [ra] Cleaning and installing latest workspace modules for taskpilot-app...
call "%SCRIPT_DIR%mvnw.cmd" -f "%SCRIPT_DIR%pom.xml" -pl taskpilot-app -am -DskipTests clean install
if errorlevel 1 (
	set "EXIT_CODE=%ERRORLEVEL%"
	popd
	exit /b %EXIT_CODE%
)

echo [ra] Starting TaskPilotApplication...
call "%SCRIPT_DIR%mvnw.cmd" -f "%SCRIPT_DIR%pom.xml" -pl taskpilot-app spring-boot:run -Dspring-boot.run.main-class=com.taskpilot.app.TaskPilotApplication %*
set "EXIT_CODE=%ERRORLEVEL%"

popd
exit /b %EXIT_CODE%