mirror of https://github.com/FDOS/kernel.git
avoid some useless messages when building release
This commit is contained in:
parent
dffdc492bf
commit
5de2eb1aa0
|
@ -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
|
||||
|
|
12
RELEASE.BAT
12
RELEASE.BAT
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue