This commit is contained in:
Bojan Kucera 2025-06-09 20:49:48 -04:00
parent 9ebbf6aace
commit 2de71c6310
3 changed files with 74 additions and 24 deletions

View file

@ -19,11 +19,56 @@ if %ERRORLEVEL% NEQ 0 (
REM Step 2: Build apps with Turbo (excluding dashboard)
echo 🏗️ Building applications with Turbo...
call turbo run build --filter="./apps/data-service" --filter="./apps/execution-service" --filter="./apps/portfolio-service" --filter="./apps/processing-service" --filter="./apps/strategy-service"
if %ERRORLEVEL% NEQ 0 (
echo ❌ Turbo app build failed
cd /d "%ORIGINAL_DIR%"
exit /b 1
REM Check if each app exists and build individually
if exist "apps\data-service" (
echo Building data-service...
call turbo run build --filter="./apps/data-service"
if %ERRORLEVEL% NEQ 0 (
echo ❌ data-service build failed
cd /d "%ORIGINAL_DIR%"
exit /b 1
)
)
if exist "apps\execution-service" (
echo Building execution-service...
call turbo run build --filter="./apps/execution-service"
if %ERRORLEVEL% NEQ 0 (
echo ❌ execution-service build failed
cd /d "%ORIGINAL_DIR%"
exit /b 1
)
)
if exist "apps\portfolio-service" (
echo Building portfolio-service...
call turbo run build --filter="./apps/portfolio-service"
if %ERRORLEVEL% NEQ 0 (
echo ❌ portfolio-service build failed
cd /d "%ORIGINAL_DIR%"
exit /b 1
)
)
if exist "apps\processing-service" (
echo Building processing-service...
call turbo run build --filter="./apps/processing-service"
if %ERRORLEVEL% NEQ 0 (
echo ❌ processing-service build failed
cd /d "%ORIGINAL_DIR%"
exit /b 1
)
)
if exist "apps\strategy-service" (
echo Building strategy-service...
call turbo run build --filter="./apps/strategy-service"
if %ERRORLEVEL% NEQ 0 (
echo ❌ strategy-service build failed
cd /d "%ORIGINAL_DIR%"
exit /b 1
)
)
REM Step 3: Build dashboard with Angular CLI