Skip to content

Commit 543bebb

Browse files
committed
Remove empty placeholder runtimes folders
1 parent 12082a0 commit 543bebb

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

buildpackage.ps1

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -8,30 +8,4 @@ $buildDate = (Get-Date).ToUniversalTime().ToString("yyyyMMddHHmmss")
88
$versionSuffix = ""
99
if ($pre.IsPresent) { $versionSuffix = "-pre$BuildDate" }
1010

11-
$projectDirectory = Split-Path $MyInvocation.MyCommand.Path
12-
$x86Directory = Join-Path $projectDirectory "nuget.package\runtimes\win7-x86\native"
13-
$x64Directory = Join-Path $projectDirectory "nuget.package\runtimes\win7-x64\native"
14-
$osxDirectory = Join-Path $projectDirectory "nuget.package\runtimes\osx\native"
15-
$linuxDirectory = Join-Path $projectDirectory "nuget.package\runtimes\linux-x64\native"
16-
17-
if ( -Not (Test-Path $x86Directory\*.dll) )
18-
{
19-
mkdir -fo $x86Directory > $null
20-
}
21-
22-
if ( -Not (Test-Path $x64Directory\*.dll) )
23-
{
24-
mkdir -fo $x64Directory > $null
25-
}
26-
27-
if ( -Not (Test-Path $osxDirectory\*.dylib) )
28-
{
29-
mkdir -fo $osxDirectory > $null
30-
}
31-
32-
if ( -Not (Test-Path $linuxDirectory\*.so) )
33-
{
34-
mkdir -fo $linuxDirectory > $null
35-
}
36-
3711
.\nuget.exe Pack nuget.package\NativeBinaries.nuspec -Version $version$versionSuffix -NoPackageAnalysis

0 commit comments

Comments
 (0)