@@ -529,11 +529,7 @@ function Start-BuildPowerShellNativePackage
529
529
530
530
[Parameter (Mandatory = $true )]
531
531
[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
537
533
)
538
534
539
535
if (-not (Test-Path $PackageRoot ))
@@ -554,7 +550,6 @@ function Start-BuildPowerShellNativePackage
554
550
$BinFolderLinuxARM64 = Join-Path $tempExtractionPath " LinuxARM64"
555
551
$BinFolderLinuxAlpine = Join-Path $tempExtractionPath " LinuxAlpine"
556
552
$BinFolderMacOS = Join-Path $tempExtractionPath " MacOS"
557
- $BinFolderPSRP = Join-Path $tempExtractionPath " PSRP"
558
553
559
554
Expand-Archive - Path $WindowsX64ZipPath - DestinationPath $BinFolderX64 - Force
560
555
Expand-Archive - Path $WindowsX86ZipPath - DestinationPath $BinFolderX86 - Force
@@ -565,11 +560,10 @@ function Start-BuildPowerShellNativePackage
565
560
Expand-Archive - Path $LinuxARMZipPath - DestinationPath $BinFolderLinuxARM - Force
566
561
Expand-Archive - Path $LinuxARM64ZipPath - DestinationPath $BinFolderLinuxARM64 - Force
567
562
Expand-Archive - Path $macOSZipPath - DestinationPath $BinFolderMacOS - Force
568
- Expand-Archive - Path $psrpZipPath - DestinationPath $BinFolderPSRP - Force
569
563
570
564
PlaceWindowsNativeBinaries - PackageRoot $PackageRoot - BinFolderX64 $BinFolderX64 - BinFolderX86 $BinFolderX86 - BinFolderARM $BinFolderARM - BinFolderARM64 $BinFolderARM64
571
565
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
573
567
574
568
$Nuspec = @'
575
569
<?xml version="1.0" encoding="utf-8"?>
@@ -657,11 +651,7 @@ function PlaceUnixBinaries
657
651
658
652
[Parameter (Mandatory = $true )]
659
653
[ValidateScript ({Test-Path $_ - PathType Container})]
660
- $BinFolderOSX ,
661
-
662
- [Parameter (Mandatory = $true )]
663
- [ValidateScript ({Test-Path $_ - PathType Container})]
664
- $BinFolderPSRP
654
+ $BinFolderOSX
665
655
)
666
656
667
657
$RuntimePathLinux = New-Item - ItemType Directory - Path (Join-Path $PackageRoot - ChildPath ' runtimes/linux-x64/native' ) - Force
@@ -675,12 +665,6 @@ function PlaceUnixBinaries
675
665
Copy-Item " $BinFolderLinuxARM64 \*" - Destination $RuntimePathLinuxARM64 - Verbose
676
666
Copy-Item " $BinFolderLinuxAlpine \*" - Destination $RuntimePathLinuxAlpine - Verbose
677
667
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
684
668
}
685
669
686
670
<#
0 commit comments