Skip to content

Commit

Permalink
avoid some useless messages when building release
Browse files Browse the repository at this point in the history
  • Loading branch information
PerditionC committed Dec 31, 2024
1 parent dffdc49 commit 5de2eb1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions MAKEPKGS.BAT
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ ECHO zipping source
%ZIPIT% ke%1s.zip SOURCE\*
ECHO gathering source and creating APPINFO and expected packaging dir structure
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\SOURCE
XCOPY /S /I /Q SOURCE\ke%1 PACKAGE\SOURCE\KERNEL
Expand Down
12 changes: 6 additions & 6 deletions RELEASE.BAT
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ git clone -v --recurse-submodules --local . ..\SOURCE\ke%1\
REM delete files to exclude
RD /S /Q ..\SOURCE\ke%1\.git > NUL
RD /S /Q ..\SOURCE\ke%1\.github > NUL
DEL /Q ..\SOURCE\ke%1\.git* > NUL
DEL /Q ..\SOURCE\ke%1\*.yml > NUL
DEL /Q ..\SOURCE\ke%1\ci*.sh > NUL
DEL /Q ..\SOURCE\ke%1\docs\*.yml > NUL
DEL /Q ..\SOURCE\ke%1\docs\CNAME > NUL
pause
IF EXIST ..\SOURCE\ke%1\.git* DEL /Q ..\SOURCE\ke%1\.git* > NUL
IF EXIST ..\SOURCE\ke%1\*.yml DEL /Q ..\SOURCE\ke%1\*.yml > NUL
IF EXIST ..\SOURCE\ke%1\ci*.sh DEL /Q ..\SOURCE\ke%1\ci*.sh > NUL
IF EXIST ..\SOURCE\ke%1\docs\*.yml DEL /Q ..\SOURCE\ke%1\docs\*.yml > NUL
IF EXIST ..\SOURCE\ke%1\docs\CNAME DEL /Q ..\SOURCE\ke%1\docs\CNAME > NUL
::pause

ECHO %CD%
CALL MAKEPKGS.BAT %1 RELEASE
Expand Down

0 comments on commit 5de2eb1

Please sign in to comment.