-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.bat
34 lines (24 loc) · 932 Bytes
/
build.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
32
33
34
@echo off
REM Windows Build Script
rmdir /s /q build
mkdir build
robocopy /s data build\data /XD localization
REM Client
robocopy /s Arcanus\bin\Release\net6.0-windows10.0.17763.0 build /XD user moddebug runtimes /XF *.pdb
REM Client Runtimes
mkdir build\runtimes
mkdir build\runtimes\win
mkdir build\runtimes\win-x64
robocopy /s Arcanus\bin\Release\net6.0-windows10.0.17763.0\runtimes\win build\runtimes\win *.*
robocopy /s Arcanus\bin\Release\net6.0-windows10.0.17763.0\runtimes\win-x64 build\runtimes\win-x64 *.*
REM Server
robocopy /s Arcanus.Server\bin\Release\net6.0 build /XD user moddebug runtimes linux-x64 /XF *.pdb
REM Monster Editor
REM robocopy Arcanus.MonsterEditor\bin\Release\net6.0-windows10.0.17763.0 build
REM Server Mods
mkdir build\mods
robocopy /s Arcanus.Common\Server\Mods build\mods *.* /XD Unused War
REM Documentation
copy COPYING build\COPYING
echo.
echo Done! The release is located in build\