-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathz_Deploy.bat
More file actions
22 lines (21 loc) · 961 Bytes
/
z_Deploy.bat
File metadata and controls
22 lines (21 loc) · 961 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
set make=mingw32-make.exe
@ROBOCOPY %cd% "%cd%\cs-bin\build" *.c *.h *.ico *.sh a_makeWindows.bat Makefile
@ROBOCOPY %cd% "%cd%\cs-bin\execute" *.txt *.png *.ttf *.ogg *.mp3 /MIR /XD dirs "%cd%\cs" "%cd%\cs-bin" "%cd%\.github" "%cd%\.git" "%cd%\bin" "%cd%\builds" "%cd%\documentation" "%cd%\obj" "%cd%\media" "%cd%\docs"
@cd cs-bin\build
%make% thenClean
%make% example clean
@copy %cd%\*.a %cd%\..\..\cs
@move %cd%\*.a %cd%\..
@move %cd%\*.exe %cd%\..\..\cs\execute
@cd ..\..
@del %cd%\builds\cs-bin.zip
@ROBOCOPY %cd% "%cd%\cs\execute" *.txt *.png *.ttf *.ogg *.mp3 /MIR /XD dirs "%cd%\cs" "%cd%\cs-bin" "%cd%\.github" "%cd%\.git" "%cd%\bin" "%cd%\builds" "%cd%\documentation" "%cd%\obj" "%cd%\media" "%cd%\docs" "%cd%\saves"
@cd cs-bin
@rem zip it up...
@%cd%\..\7z.exe a -y -tzip "%cd%\..\builds\cs-bin.zip" "%cd%" -mx5
@rem done...
@del %cd%\..\builds\cs.zip
@rem zip it up...
cd ..
@%cd%\7z.exe a -y -tzip "%cd%\builds\cs.zip" "%cd%\cs" -mx5
@rem done...