diff options
author | Zane Shannon <z@zcs.me> | 2023-10-11 04:14:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-11 06:14:05 -0500 |
commit | 24ba3d829e31a6eda3fa1723f692608c2fa3adda (patch) | |
tree | 9733d19029e3c55356db4a30eede813a7da2a617 /examples/batched.swift/Package.swift | |
parent | 9f6ede19f3cfa50d4a51a5babb056c3f8a450b80 (diff) |
examples : add batched.swift + improve CI for swift (#3562)
Diffstat (limited to 'examples/batched.swift/Package.swift')
-rw-r--r-- | examples/batched.swift/Package.swift | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/examples/batched.swift/Package.swift b/examples/batched.swift/Package.swift new file mode 100644 index 00000000..826491de --- /dev/null +++ b/examples/batched.swift/Package.swift @@ -0,0 +1,22 @@ +// swift-tools-version: 5.5 +// The swift-tools-version declares the minimum version of Swift required to build this package. + +import PackageDescription + +let package = Package( + name: "batched_swift", + platforms: [.macOS(.v12)], + dependencies: [ + .package(name: "llama", path: "../../"), + ], + targets: [ + // Targets are the basic building blocks of a package, defining a module or a test suite. + // Targets can depend on other targets in this package and products from dependencies. + .executableTarget( + name: "batched_swift", + dependencies: ["llama"], + path: "Sources", + linkerSettings: [.linkedFramework("Foundation"), .linkedFramework("AppKit")] + ), + ] +) |