avoid some useless messages when building release

This commit is contained in:
Kenneth J Davis 2024-12-31 18:08:11 -05:00
parent dffdc492bf
commit 5de2eb1aa0
No known key found for this signature in database
GPG Key ID: 59D5F216C38F11FD
2 changed files with 9 additions and 6 deletions

View File

@ -35,6 +35,9 @@ ECHO zipping source
%ZIPIT% ke%1s.zip SOURCE\* %ZIPIT% ke%1s.zip SOURCE\*
ECHO gathering source and creating APPINFO and expected packaging dir structure ECHO gathering source and creating APPINFO and expected packaging dir structure
REM FreeDOS package format, has APPINFO, BIN, DOC\KERNEL, SOURCE\KERNEL\ REM FreeDOS package format, has APPINFO, BIN, DOC\KERNEL, SOURCE\KERNEL\
IF EXIST PACKAGE ECHO PACKAGE directory exists, break now to avoid deleting it!
IF EXIST PACKAGE pause
IF EXIST PACKAGE RMDIR /S PACKAGE
MKDIR PACKAGE MKDIR PACKAGE
MKDIR PACKAGE\SOURCE MKDIR PACKAGE\SOURCE
XCOPY /S /I /Q SOURCE\ke%1 PACKAGE\SOURCE\KERNEL XCOPY /S /I /Q SOURCE\ke%1 PACKAGE\SOURCE\KERNEL

View File

@ -12,12 +12,12 @@ git clone -v --recurse-submodules --local . ..\SOURCE\ke%1\
REM delete files to exclude REM delete files to exclude
RD /S /Q ..\SOURCE\ke%1\.git > NUL RD /S /Q ..\SOURCE\ke%1\.git > NUL
RD /S /Q ..\SOURCE\ke%1\.github > NUL RD /S /Q ..\SOURCE\ke%1\.github > NUL
DEL /Q ..\SOURCE\ke%1\.git* > NUL IF EXIST ..\SOURCE\ke%1\.git* DEL /Q ..\SOURCE\ke%1\.git* > NUL
DEL /Q ..\SOURCE\ke%1\*.yml > NUL IF EXIST ..\SOURCE\ke%1\*.yml DEL /Q ..\SOURCE\ke%1\*.yml > NUL
DEL /Q ..\SOURCE\ke%1\ci*.sh > NUL IF EXIST ..\SOURCE\ke%1\ci*.sh DEL /Q ..\SOURCE\ke%1\ci*.sh > NUL
DEL /Q ..\SOURCE\ke%1\docs\*.yml > NUL IF EXIST ..\SOURCE\ke%1\docs\*.yml DEL /Q ..\SOURCE\ke%1\docs\*.yml > NUL
DEL /Q ..\SOURCE\ke%1\docs\CNAME > NUL IF EXIST ..\SOURCE\ke%1\docs\CNAME DEL /Q ..\SOURCE\ke%1\docs\CNAME > NUL
pause ::pause
ECHO %CD% ECHO %CD%
CALL MAKEPKGS.BAT %1 RELEASE CALL MAKEPKGS.BAT %1 RELEASE