Skip to content

Commit

Permalink
Build on osx too
Browse files Browse the repository at this point in the history
  • Loading branch information
Giorgi committed Aug 23, 2023
1 parent 902a392 commit 6a63749
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DuckDB.NET.Bindings/Bindings.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<Description>DuckDB Bindings for C#.</Description>
<PackageReleaseNotes>Added binding for extract statements api.</PackageReleaseNotes>
<RootNamespace>DuckDB.NET</RootNamespace>
<RuntimeIdentifiers>win-x64;linux-x64</RuntimeIdentifiers>
<RuntimeIdentifiers>win-x64;linux-x64;osx</RuntimeIdentifiers>
<DuckDbArtifactRoot>https://carlopi.github.io/duckdb-latest</DuckDbArtifactRoot>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\keyPair.snk</AssemblyOriginatorKeyFile>
Expand All @@ -18,6 +18,7 @@
<Target Name="DownloadNativeLibs" BeforeTargets="GenerateAdditionalSources" Condition="'$(BuildType)' == 'Full' ">
<MSBuild Projects="DownloadNativeLibs.targets" Properties="Rid=win-x64;LibUrl=$(DuckDbArtifactRoot)/libduckdb-windows-amd64.zip" />
<MSBuild Projects="DownloadNativeLibs.targets" Properties="Rid=linux-x64;LibUrl=$(DuckDbArtifactRoot)/libduckdb-linux-amd64.zip" />
<MSBuild Projects="DownloadNativeLibs.targets" Properties="Rid=osx;LibUrl=$(DuckDbArtifactRoot)/libduckdb-osx-universal.zip" />
</Target>
<Target Name="CleanNativeLibs" BeforeTargets="Clean" Condition="'$(BuildType)' == 'Full' ">
<RemoveDir Directories="obj\runtimes" />
Expand Down

0 comments on commit 6a63749

Please sign in to comment.