Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/scripts/ci/windows/assemble.bat
blob: 4bda92b2c76d208e9a4e7e4803931be22a15a677 (plain)
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
@echo off
set client=client_distribution
if exist %client% rmdir %client% /S /Q

mkdir %client%
mkdir %client%\storage
mkdir %client%\mods
mkdir %client%\assets
mkdir %client%\win

.\dist\asset_packer.exe -c scripts\packing.config assets\opensb %client%\assets\opensb.pak

set server=server_distribution
if exist %server% rmdir %server% /S /Q
xcopy %client% %server% /E /I

for /f "delims=" %%f in (scripts\ci\windows\files_client.txt) do (
    xcopy "%%f" "%client%\win\" /Y
)

for /f "delims=" %%f in (scripts\ci\windows\files_server.txt) do (
    xcopy "%%f" "%server%\win\" /Y
)

set win=windows
xcopy %client% %win% /E /I /Y
xcopy %server% %win% /E /I /Y