This is an automated email from the ASF dual-hosted git repository.
curth pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git
The following commit(s) were added to refs/heads/main by this push:
new 715fe2459 fix(csharp/src/Drivers/Interop/Snowflake): Swapping
PreBuildEvent to DispatchToInnerBuilds (#1909)
715fe2459 is described below
commit 715fe2459a836527602383c50ecd40b8d520bb41
Author: Julian Brandrick <[email protected]>
AuthorDate: Fri Jun 7 09:31:15 2024 -0700
fix(csharp/src/Drivers/Interop/Snowflake): Swapping PreBuildEvent to
DispatchToInnerBuilds (#1909)
Swapping PreBuildEvent to DispatchToInnerBuilds which accomplishes the
same for multiple frameworks.
This will ensure the Snowflake build scripts are run only once during a
dotnet pack.
Co-authored-by: v-jbrandrick
<[email protected]>
---
.../Snowflake/Apache.Arrow.Adbc.Drivers.Interop.Snowflake.csproj | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/csharp/src/Drivers/Interop/Snowflake/Apache.Arrow.Adbc.Drivers.Interop.Snowflake.csproj
b/csharp/src/Drivers/Interop/Snowflake/Apache.Arrow.Adbc.Drivers.Interop.Snowflake.csproj
index cb810a99b..b71e9b661 100644
---
a/csharp/src/Drivers/Interop/Snowflake/Apache.Arrow.Adbc.Drivers.Interop.Snowflake.csproj
+++
b/csharp/src/Drivers/Interop/Snowflake/Apache.Arrow.Adbc.Drivers.Interop.Snowflake.csproj
@@ -8,12 +8,12 @@
</PropertyGroup>
<!-- use Build-SnowflakeDriver.ps1 to build the dll -->
- <Target Name="PreBuild_Win" BeforeTargets="PreBuildEvent"
Condition="$([MSBuild]::IsOSPlatform('Windows'))">
+ <Target Name="PreBuild_Win" BeforeTargets="DispatchToInnerBuilds"
Condition="$([MSBuild]::IsOSPlatform('Windows'))">
<Exec Command="powershell -ExecutionPolicy Unrestricted -File
$(ProjectDir)Build-SnowflakeDriver.ps1" />
</Target>
<!-- use copySnowflakeDriver.sh to move all the platform binaries when used
in the pipeline -->
- <Target Name="PreBuild_Linux" BeforeTargets="PreBuildEvent"
Condition="$([MSBuild]::IsOSPlatform('Linux'))">
+ <Target Name="PreBuild_Linux" BeforeTargets="DispatchToInnerBuilds"
Condition="$([MSBuild]::IsOSPlatform('Linux'))">
<Exec Command="bash $(ProjectDir)copySnowflakeDriver.sh" />
</Target>