Skip to content

Commit

Permalink
Proofread
Browse files Browse the repository at this point in the history
  • Loading branch information
mdrakiburrahman committed Oct 6, 2024
1 parent bc5fdfa commit 03ba177
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/DeltaLake/DeltaLake.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
Condition="'$(Configuration)' == 'Debug'">
<Exec Command="cargo build" WorkingDirectory="Bridge" />
</Target>
<Target Name="CopyBridgeDLLDebug" BeforeTargets="PreBuildEvent" Condition="'$(Configuration)' == 'Debug'">
<Target Name="CopyBridgeDLLDebug" BeforeTargets="PreBuildEvent"
Condition="'$(Configuration)' == 'Debug'">
<ItemGroup Condition="'$(Configuration)' == 'Debug'">
<Content Include="Bridge/target/debug/$(BridgeLibraryFile)">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
Expand All @@ -59,10 +60,12 @@
</ItemGroup>
</Target>

<Target Name="CargoBuildRelease" BeforeTargets="DispatchToInnerBuilds" Condition="'$(Configuration)' == 'Release' AND '$(BridgeLibraryRoot)' == ''">
<Target Name="CargoBuildRelease" BeforeTargets="DispatchToInnerBuilds"
Condition="'$(Configuration)' == 'Release' AND '$(BridgeLibraryRoot)' == ''">
<Exec Command="cargo build --release" WorkingDirectory="Bridge" />
</Target>
<Target Name="CopyBridgeDLLRelease" BeforeTargets="PreBuildEvent" Condition="'$(Configuration)' == 'Release' AND '$(BridgeLibraryRoot)' == ''">
<Target Name="CopyBridgeDLLRelease" BeforeTargets="PreBuildEvent"
Condition="'$(Configuration)' == 'Release' AND '$(BridgeLibraryRoot)' == ''">
<Exec Command="cargo build --release" WorkingDirectory="Bridge" />
<ItemGroup Condition="'$(Configuration)' == 'Release'">
<Content Include="Bridge/target/release/$(BridgeLibraryFile)">
Expand All @@ -79,7 +82,8 @@
</ItemGroup>

<!-- Pack the C if BridgeLibraryRoot property set -->
<Target Name="PackBridgeRuntimes" BeforeTargets="DispatchToInnerBuilds" Condition="'$(BridgeLibraryRoot)' != ''">
<Target Name="PackBridgeRuntimes" BeforeTargets="DispatchToInnerBuilds"
Condition="'$(BridgeLibraryRoot)' != ''">
<ItemGroup>
<Content Include="$(BridgeLibraryRoot)/linux-x64-bridge/libdelta_rs_bridge.so">
<PackagePath>runtimes/linux-x64/native/libdelta_rs_bridge.so</PackagePath>
Expand Down

0 comments on commit 03ba177

Please sign in to comment.