mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Update type catalog generator build script
This commit is contained in:
@@ -1,13 +1,10 @@
|
||||
. mono-snapshot mono
|
||||
export DOTNET_REFERENCE_ASSEMBLIES_PATH=$MONO_PREFIX/lib/mono/xbuild-frameworks/
|
||||
|
||||
pushd Runtime
|
||||
pushd ../TypeCatalogParser
|
||||
dotnet restore
|
||||
dotnet publish --output bin
|
||||
dotnet run
|
||||
popd
|
||||
|
||||
ls Runtime/bin/*.dll | sed ':a;N;$!ba;s/\n/;/g' > powershell.inc
|
||||
|
||||
dotnet restore
|
||||
dotnet run CorePsTypeCatalog.cs powershell.inc
|
||||
cp CorePsTypeCatalog.cs ../Microsoft.PowerShell.CoreCLR.AssemblyLoadContext/
|
||||
dotnet run ../Microsoft.PowerShell.CoreCLR.AssemblyLoadContext/CorePsTypeCatalog.cs powershell.inc
|
||||
|
||||
Reference in New Issue
Block a user