PackTerminalGui.sh 419 B

1234567891011
  1. #!/bin/bash
  2. # Step 1: Build and pack Terminal.Gui
  3. dotnet build ../Terminal.Gui/Terminal.Gui.csproj --configuration Release
  4. dotnet pack ../Terminal.Gui/Terminal.Gui.csproj --configuration Release --output ../local_packages
  5. # Step 2: Restore NativeAot with the new package
  6. dotnet restore ./NativeAot.csproj --source ./local_packages
  7. # Step 3: Build NativeAot
  8. dotnet build ./NativeAot.csproj --configuration Release