aboutsummaryrefslogtreecommitdiff
path: root/Package.swift
diff options
context:
space:
mode:
authory-jan137 <yousefjan24000@gmail.com>2026-04-27 14:39:13 +0300
committery-jan137 <yousefjan24000@gmail.com>2026-04-27 14:39:13 +0300
commit26dee10dcc64405b2f729efebf6e4e783b280d15 (patch)
tree4668e4e9b5f01c63d1477bace14ecf843934ab5d /Package.swift
parentf0b570f7de7454272fc16d29d14b52960d790a5a (diff)
Add initial files
Diffstat (limited to 'Package.swift')
-rw-r--r--Package.swift23
1 files changed, 23 insertions, 0 deletions
diff --git a/Package.swift b/Package.swift
new file mode 100644
index 0000000..9bc574f
--- /dev/null
+++ b/Package.swift
@@ -0,0 +1,23 @@
+// swift-tools-version: 6.0
+
+import PackageDescription
+
+let package = Package(
+ name: "pixel-sort",
+ platforms: [.macOS(.v15)],
+ dependencies: [
+ .package(url: "https://github.com/schwa/Compute", from: "0.0.6"),
+ .package(url: "https://github.com/apple/swift-argument-parser", from: "1.5.0"),
+ ],
+ targets: [
+ .executableTarget(
+ name: "pixel-sort",
+ dependencies: [
+ .product(name: "Compute", package: "Compute"),
+ .product(name: "ArgumentParser", package: "swift-argument-parser"),
+ ],
+ path: "Sources",
+ resources: [.copy("Shaders.metal")]
+ ),
+ ]
+)