-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.bat
More file actions
53 lines (44 loc) · 1.62 KB
/
build.bat
File metadata and controls
53 lines (44 loc) · 1.62 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
@echo off
echo ========================================
echo Building KitsuneEngine Modules
echo ========================================
echo.
echo [1/6] Building KitsuneEngine.Core...
dotnet build KitsuneEngine.Core/KitsuneEngine.Core.csproj -c Release
if %errorlevel% neq 0 goto :error
echo [2/6] Building KitsuneEngine.Graphics...
dotnet build KitsuneEngine.Graphics/KitsuneEngine.Graphics.csproj -c Release
if %errorlevel% neq 0 goto :error
echo [3/6] Building KitsuneEngine.Audio...
dotnet build KitsuneEngine.Audio/KitsuneEngine.Audio.csproj -c Release
if %errorlevel% neq 0 goto :error
echo [4/6] Building KitsuneEngine.Input...
dotnet build KitsuneEngine.Input/KitsuneEngine.Input.csproj -c Release
if %errorlevel% neq 0 goto :error
echo [5/6] Building KitsuneEngine.Assets...
dotnet build KitsuneEngine.Assets/KitsuneEngine.Assets.csproj -c Release
if %errorlevel% neq 0 goto :error
echo [6/6] Building KitsuneEngine.Network...
dotnet build KitsuneEngine.Network/KitsuneEngine.Network.csproj -c Release
if %errorlevel% neq 0 goto :error
echo.
echo ========================================
echo Build Complete!
echo ========================================
echo.
echo Output locations:
echo - KitsuneEngine.Core\bin\Release\net8.0\
echo - KitsuneEngine.Graphics\bin\Release\net8.0\
echo - KitsuneEngine.Audio\bin\Release\net8.0\
echo - KitsuneEngine.Input\bin\Release\net8.0\
echo - KitsuneEngine.Assets\bin\Release\net8.0\
echo - KitsuneEngine.Network\bin\Release\net8.0\
echo.
goto :end
:error
echo.
echo ========================================
echo Build Failed!
echo ========================================
exit /b 1
:end