-
Notifications
You must be signed in to change notification settings - Fork 702
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #3784. SelfContained and NativeAot projects should use the loca…
…l package in the release mode. (#3785) * Fixes #3784. SelfContained and NativeAot projects should use the local package in the release mode. * Run dotnet restore before build. * Using local_packages folder for CI. * Add build_release_consumer. * Remove build_release_consumer. * Fix folder for CI. * Fix System.Text.Json vulnerability. * Fix local_packageslocation. * Add package sources to the packageSourceMapping tag. * Using the original configuration. * Only add the Terminal.Gui pattern in the LocalPackages. * Fix the path folder separator with unit style. * Using pack instead of build. * Create LocalPackages Directory * Add local_packages source. * Using scripts to build release for NativeAot and SelfContained. * Trying to fix path. * Again. * Fix the path for the package, * Need to build before pack. * Needs also build before pack locally. * Fix build path.
- Loading branch information
Showing
10 changed files
with
55 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,3 +61,4 @@ demo.* | |
*.tui/ | ||
|
||
*.dotCover | ||
/local_packages/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
|
||
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# 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 SelfContained with the new package | ||
dotnet restore ./SelfContained.csproj --source ./local_packages | ||
|
||
# Step 3: Build SelfContained | ||
dotnet build ./SelfContained.csproj --configuration Release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
|
||
# 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 SelfContained with the new package | ||
dotnet restore ./SelfContained.csproj --source ./local_packages | ||
|
||
# Step 3: Build SelfContained | ||
dotnet build ./SelfContained.csproj --configuration Release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters