Skip to content

Commit d4956f0

Browse files
committed
update build bat to include zipping
1 parent bbe89d3 commit d4956f0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

cmake_all.bat

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ call :build
1111
copy LICENSE _package.x64
1212
copy README.md _package.x64
1313

14+
cd _package.x64
15+
set FN=Bonzomatic_W64_%date:~0,4%-%date:~5,2%-%date:~8,2%.zip
16+
zip -r -9 %FN% *
17+
move %FN% ..\
18+
cd ..
19+
1420
set BNZ_X64=OFF
1521
set BNZ_FLAVOR=GLFW
1622
call :build
@@ -24,6 +30,12 @@ call :build
2430
copy LICENSE _package.x86
2531
copy README.md _package.x86
2632

33+
cd _package.x86
34+
set FN=Bonzomatic_W32_%date:~0,4%-%date:~5,2%-%date:~8,2%.zip
35+
zip -r -9 %FN% *
36+
move %FN% ../
37+
cd ..
38+
2739
goto :eof
2840

2941
REM --------------------- BUILD TIME -------------------------------

0 commit comments

Comments
 (0)