@@ -529,11 +529,7 @@ function Start-BuildPowerShellNativePackage
529529
530530 [Parameter (Mandatory = $true )]
531531 [ValidateScript ({Test-Path $_ - PathType Leaf})]
532- [string ] $macOSZipPath ,
533-
534- [Parameter (Mandatory = $true )]
535- [ValidateScript ({Test-Path $_ - PathType Leaf})]
536- [string ] $psrpZipPath
532+ [string ] $macOSZipPath
537533 )
538534
539535 if (-not (Test-Path $PackageRoot ))
@@ -554,7 +550,6 @@ function Start-BuildPowerShellNativePackage
554550 $BinFolderLinuxARM64 = Join-Path $tempExtractionPath " LinuxARM64"
555551 $BinFolderLinuxAlpine = Join-Path $tempExtractionPath " LinuxAlpine"
556552 $BinFolderMacOS = Join-Path $tempExtractionPath " MacOS"
557- $BinFolderPSRP = Join-Path $tempExtractionPath " PSRP"
558553
559554 Expand-Archive - Path $WindowsX64ZipPath - DestinationPath $BinFolderX64 - Force
560555 Expand-Archive - Path $WindowsX86ZipPath - DestinationPath $BinFolderX86 - Force
@@ -565,11 +560,10 @@ function Start-BuildPowerShellNativePackage
565560 Expand-Archive - Path $LinuxARMZipPath - DestinationPath $BinFolderLinuxARM - Force
566561 Expand-Archive - Path $LinuxARM64ZipPath - DestinationPath $BinFolderLinuxARM64 - Force
567562 Expand-Archive - Path $macOSZipPath - DestinationPath $BinFolderMacOS - Force
568- Expand-Archive - Path $psrpZipPath - DestinationPath $BinFolderPSRP - Force
569563
570564 PlaceWindowsNativeBinaries - PackageRoot $PackageRoot - BinFolderX64 $BinFolderX64 - BinFolderX86 $BinFolderX86 - BinFolderARM $BinFolderARM - BinFolderARM64 $BinFolderARM64
571565
572- PlaceUnixBinaries - PackageRoot $PackageRoot - BinFolderLinux $BinFolderLinux - BinFolderLinuxARM $BinFolderLinuxARM - BinFolderLinuxARM64 $BinFolderLinuxARM64 - BinFolderOSX $BinFolderMacOS - BinFolderPSRP $BinFolderPSRP - BinFolderLinuxAlpine $BinFolderLinuxAlpine
566+ PlaceUnixBinaries - PackageRoot $PackageRoot - BinFolderLinux $BinFolderLinux - BinFolderLinuxARM $BinFolderLinuxARM - BinFolderLinuxARM64 $BinFolderLinuxARM64 - BinFolderOSX $BinFolderMacOS - BinFolderLinuxAlpine $BinFolderLinuxAlpine
573567
574568 $Nuspec = @'
575569<?xml version="1.0" encoding="utf-8"?>
@@ -657,11 +651,7 @@ function PlaceUnixBinaries
657651
658652 [Parameter (Mandatory = $true )]
659653 [ValidateScript ({Test-Path $_ - PathType Container})]
660- $BinFolderOSX ,
661-
662- [Parameter (Mandatory = $true )]
663- [ValidateScript ({Test-Path $_ - PathType Container})]
664- $BinFolderPSRP
654+ $BinFolderOSX
665655 )
666656
667657 $RuntimePathLinux = New-Item - ItemType Directory - Path (Join-Path $PackageRoot - ChildPath ' runtimes/linux-x64/native' ) - Force
@@ -675,12 +665,6 @@ function PlaceUnixBinaries
675665 Copy-Item " $BinFolderLinuxARM64 \*" - Destination $RuntimePathLinuxARM64 - Verbose
676666 Copy-Item " $BinFolderLinuxAlpine \*" - Destination $RuntimePathLinuxAlpine - Verbose
677667 Copy-Item " $BinFolderOSX \*" - Destination $RuntimePathOSX - Verbose
678-
679- # # LinuxARM is not supported by PSRP
680- Get-ChildItem - Recurse $BinFolderPSRP /* .dylib | ForEach-Object { Copy-Item $_.FullName - Destination $RuntimePathOSX - Verbose }
681- Get-ChildItem - Recurse $BinFolderPSRP /* .so | ForEach-Object { Copy-Item $_.FullName - Destination $RuntimePathLinux - Verbose }
682-
683- Copy-Item $BinFolderPSRP / version.txt - Destination " $PackageRoot /PSRP_version.txt" - Verbose
684668}
685669
686670<#
0 commit comments