Deploy native library automatically

This commit is contained in:
Andrew Schwartzmeyer committed 2016-03-29 11:18:12 -07:00
1 parent 85b00bfaf3
commit 03c452c98c
4 files changed
+6 -13

No files matched your search

+1 -2
View File
@@ -145,7 +145,7 @@ function Start-PSBuild
$Ext = if ($IsLinux) { "so" } elseif ($IsOSX) { "dylib" }
$Native = "$PSScriptRoot/src/libpsl-native"
$Lib = "$Native/src/libpsl-native.$Ext"
$Lib = "$Top/libpsl-native.$Ext"
Write-Verbose "Building $Lib"
try {
@@ -158,7 +158,6 @@ function Start-PSBuild
}
if (-Not (Test-Path $Lib)) { throw "Compilation of $Lib failed" }
Copy-Item $Lib $Output
}
}
else