Files
Terminal.Gui/NativeAot/PackTerminalGui.ps1
2024-10-10 23:25:38 +01:00

10 lines
406 B
PowerShell

# Step 1: Build and pack Terminal.Gui
dotnet build ../Terminal.Gui/Terminal.Gui.csproj --configuration Release
dotnet pack ../Terminal.Gui/Terminal.Gui.csproj --configuration Release --output ../local_packages
# Step 2: Restore NativeAot with the new package
dotnet restore ./NativeAot.csproj --source ./local_packages
# Step 3: Build NativeAot
dotnet build ./NativeAot.csproj --configuration Release