From 8d2dac7dec17286adc05415b4b748e246d238f14 Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Sun, 24 Nov 2019 02:53:05 -0500 Subject: checksrc.bat: Add a check for vquic and vssh directories Ref: https://github.com/curl/curl/pull/4607 --- projects/checksrc.bat | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'projects') diff --git a/projects/checksrc.bat b/projects/checksrc.bat index 54c976ad1..e2b6b6999 100644 --- a/projects/checksrc.bat +++ b/projects/checksrc.bat @@ -113,6 +113,18 @@ rem *************************************************************************** for /f "delims=" %%i in ('dir "%SRC_DIR%\lib\vauth\*.h.*" /b 2^>NUL') do @perl "%SRC_DIR%\lib\checksrc.pl" "-D%SRC_DIR%\lib\vauth" "%%i" ) + rem Check the lib\vquic directory + if exist %SRC_DIR%\lib\vquic ( + for /f "delims=" %%i in ('dir "%SRC_DIR%\lib\vquic\*.c.*" /b 2^>NUL') do @perl "%SRC_DIR%\lib\checksrc.pl" "-D%SRC_DIR%\lib\vquic" "%%i" + for /f "delims=" %%i in ('dir "%SRC_DIR%\lib\vquic\*.h.*" /b 2^>NUL') do @perl "%SRC_DIR%\lib\checksrc.pl" "-D%SRC_DIR%\lib\vquic" "%%i" + ) + + rem Check the lib\vssh directory + if exist %SRC_DIR%\lib\vssh ( + for /f "delims=" %%i in ('dir "%SRC_DIR%\lib\vssh\*.c.*" /b 2^>NUL') do @perl "%SRC_DIR%\lib\checksrc.pl" "-D%SRC_DIR%\lib\vssh" "%%i" + for /f "delims=" %%i in ('dir "%SRC_DIR%\lib\vssh\*.h.*" /b 2^>NUL') do @perl "%SRC_DIR%\lib\checksrc.pl" "-D%SRC_DIR%\lib\vssh" "%%i" + ) + rem Check the lib\vtls directory if exist %SRC_DIR%\lib\vtls ( for /f "delims=" %%i in ('dir "%SRC_DIR%\lib\vtls\*.c.*" /b 2^>NUL') do @perl "%SRC_DIR%\lib\checksrc.pl" "-D%SRC_DIR%\lib\vtls" "%%i" -- cgit v1.2.3