-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathbuild-server.bat
More file actions
26 lines (21 loc) · 1.01 KB
/
build-server.bat
File metadata and controls
26 lines (21 loc) · 1.01 KB
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
@echo off
echo Adding SharpCoreDB.Server projects to solution...
dotnet sln add src/SharpCoreDB.Server/SharpCoreDB.Server.csproj
dotnet sln add src/SharpCoreDB.Server.Protocol/SharpCoreDB.Server.Protocol.csproj
dotnet sln add src/SharpCoreDB.Server.Core/SharpCoreDB.Server.Core.csproj
dotnet sln add src/SharpCoreDB.Client/SharpCoreDB.Client.csproj
dotnet sln add src/SharpCoreDB.Client.Protocol/SharpCoreDB.Client.Protocol.csproj
echo.
echo Building server projects to generate protobuf files...
dotnet build src/SharpCoreDB.Server.Protocol/SharpCoreDB.Server.Protocol.csproj
dotnet build src/SharpCoreDB.Client.Protocol/SharpCoreDB.Client.Protocol.csproj
echo.
echo Building core projects...
dotnet build src/SharpCoreDB.Server.Core/SharpCoreDB.Server.Core.csproj
dotnet build src/SharpCoreDB.Client/SharpCoreDB.Client.csproj
echo.
echo Building server executable...
dotnet build src/SharpCoreDB.Server/SharpCoreDB.Server.csproj
echo.
echo Done! Run with: dotnet run --project src/SharpCoreDB.Server/SharpCoreDB.Server.csproj
pause