Skip to content

Commit

Permalink
correct collect examples script
Browse files Browse the repository at this point in the history
  • Loading branch information
hrajagers committed Sep 18, 2024
1 parent 90ca1d4 commit fd57277
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions BuildScripts/Collect_Examples.bat
Original file line number Diff line number Diff line change
@@ -1,21 +1,30 @@
@echo off
setlocal EnableDelayedExpansion

set target_root = dfastmi.dist
set target_root=dfastmi.dist

rem ===============================================
echo Copying the backward compatibility tests ...
set target_root = %target_root%\examples_compatibility
mkdir %target_root%
set target_compatibility=%target_root%\examples_compatibility
echo Creating %target_compatibility%
mkdir %target_compatibility%

set target = "%target_root%\01 - GentseWaard\"
copy "tests\c01 - GentseWaardNevengeul\c01.cfg" %target%
copy "tests\c01 - GentseWaardNevengeul\*.xyz" %target%
set target=%target_compatibility%\01 - GentseWaard\
echo Copying case to %target%
mkdir "%target%"
rem Using "c01.cf?" instead of "c01.cfg" to make sure that copy prints the name of the file copied
copy "tests\c01 - GendtseWaardNevengeul\c01.cf?" "%target%"
copy "tests\c01 - GendtseWaardNevengeul\*.xyz" "%target%"

set target = "%target_root%\02 - DeLymen\"
copy "tests\c02 - DeLymen\c02.cfg" %target%
copy "tests\c02 - DeLymen\*.xyz" %target%
set target=%target_compatibility%\02 - DeLymen\
echo Copying case to %target%
mkdir "%target%"
rem Using "c02.cf?" instead of "c02.cfg" to make sure that copy prints the name of the file copied
copy "tests\c02 - DeLymen\c02.cf?" "%target%"
copy "tests\c02 - DeLymen\*.xyz" "%target%"


rem ===============================================
echo.
echo Copying the examples/validation cases ...
xcopy /E examples %target_root%\examples\

0 comments on commit fd57277

Please sign in to comment.