diff --git a/src/TypeCatalogGen/build.sh b/src/TypeCatalogGen/build.sh index 59d14d9463..4a086a2dbf 100755 --- a/src/TypeCatalogGen/build.sh +++ b/src/TypeCatalogGen/build.sh @@ -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