From c38e0b085f963d0022b096b4ad42a8682c4a0512 Mon Sep 17 00:00:00 2001 From: aber-sandag Date: Mon, 26 Aug 2024 11:23:38 -0700 Subject: [PATCH] Delete old files when rebuilding release --- build.cmd | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.cmd b/build.cmd index cfd00e76e..c218bf845 100644 --- a/build.cmd +++ b/build.cmd @@ -22,6 +22,9 @@ if exist %ROOT% ( :build +@REM Delete common directory first so deleted files are not preserved +if exist %ROOT%\common rmdir /s /q %ROOT%\common + @REM Copy scenario creation scripts for /f "tokens=*" %%i in (build_create_scenario_scripts.txt) DO ( xcopy /Y .\src\main\resources\%%i %ROOT%