summaryrefslogtreecommitdiff
path: root/examples/batched.swift/Package.swift
diff options
context:
space:
mode:
Diffstat (limited to 'examples/batched.swift/Package.swift')
-rw-r--r--examples/batched.swift/Package.swift22
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")]
+ ),
+ ]
+)