Skip to content

Commit

Permalink
Ask to call pro-features build after push if available
Browse files Browse the repository at this point in the history
  • Loading branch information
volkanceylan committed Oct 25, 2024
1 parent 797f142 commit ec19e62
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions common-features/build-cf.cmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
@echo off
ECHO *** RUNNING BUILD ***
ECHO *** RUNNING COMMON-FEATURES BUILD ***
dotnet run --project build\build-cf.csproj -- %*
if %ERRORLEVEL% GEQ 1 GOTO :end
if "%~1"=="push" goto :propush

:end
pause
pause
goto :eof

:propush
if not exist %~dp0\..\..\pro-features\build-pro.cmd goto :end
CHOICE /M "Run pro-features\build-pro.cmd %*%"
if %ERRORLEVEL% EQU 1 (
cd %~dp0\..\..\pro-features
call build-pro.cmd %*%
)

0 comments on commit ec19e62

Please sign in to comment.