jding-xyz commented on code in PR #153:
URL: https://github.com/apache/arrow-swift/pull/153#discussion_r3007590666


##########
Package.swift:
##########
@@ -70,6 +71,11 @@ let package = Package(
         .testTarget(
             name: "ArrowTests",
             dependencies: ["Arrow", "ArrowC"],
+            resources: [
+                .copy("testdata_bool.arrow"),
+                .copy("testdata_double.arrow"),
+                .copy("testdata_struct.arrow")

Review Comment:
   Unfortunately SwiftPM's .copy() only accepts paths within the target's 
source directory, so referencing ../../data-generator/swift-datagen/ isn't 
possible. Instead I've committed the three generated .arrow files directly 
(they're small -- 650 to 810 bytes). This ensures the package resolves cleanly 
without needing to run the Go generator first. The CI still regenerates them, 
so if the generator changes, any drift will be caught.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to