forked from serge-rgb/milton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeploy.bat
31 lines (25 loc) · 841 Bytes
/
deploy.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
if exist OUTPUT goto OUTPUT_EXISTS
set builddir=build\win64-msvc-debug-default
set sdlbindir=third_party\bin
mkdir OUTPUT
copy %builddir%\Milton.exe OUTPUT\Milton.exe
copy %builddir%\Milton.pdb OUTPUT\Milton.pdb
copy Milton.iss OUTPUT\Milton.iss
copy %sdlbindir%\SDL2.lib OUTPUT\SDL2.lib
copy %sdlbindir%\SDL2.pdb OUTPUT\SDL2.pdb
copy milton_icon.ico OUTPUT\milton_icon.ico
copy LICENSE.txt OUTPUT\LICENSE.txt
copy %builddir%\Carlito.LICENSE OUTPUT\Carlito.LICENSE
copy %builddir%\Carlito.ttf OUTPUT\Carlito.ttf
mkdir OUTPUT\Standalone
copy OUTPUT\Milton.exe OUTPUT\Standalone\
copy OUTPUT\milton_icon.ico OUTPUT\Standalone\
copy OUTPUT\LICENSE.txt OUTPUT\Standalone\
copy OUTPUT\Carlito.ttf OUTPUT\Standalone\
copy OUTPUT\Carlito.LICENSE OUTPUT\Standalone\
goto end
:OUTPUT_EXISTS
echo "Error: Output exists."
exit /b 1
:end
exit /b 0