-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.cmd
More file actions
24 lines (19 loc) · 801 Bytes
/
build.cmd
File metadata and controls
24 lines (19 loc) · 801 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
@echo off
REM Build script for DrawThatThing cross-platform application
echo Building DrawThatThing...
REM Restore packages
dotnet restore DrawThatThing.sln
if %ERRORLEVEL% neq 0 exit /b %ERRORLEVEL%
REM Build in Release mode
dotnet build DrawThatThing.sln -c Release
if %ERRORLEVEL% neq 0 exit /b %ERRORLEVEL%
echo.
echo Build completed successfully!
echo.
echo To run the application:
echo dotnet run --project DrawThatThing.Avalonia\DrawThatThing.Avalonia.csproj
echo.
echo To publish for different platforms:
echo Windows: dotnet publish DrawThatThing.Avalonia -c Release -r win-x64 --self-contained
echo macOS: dotnet publish DrawThatThing.Avalonia -c Release -r osx-x64 --self-contained
echo Linux: dotnet publish DrawThatThing.Avalonia -c Release -r linux-x64 --self-contained