aboutsummaryrefslogtreecommitdiff
path: root/Package.swift
diff options
context:
space:
mode:
authorTommaso Negri <me@tommasongr.com>2026-08-28 18:18:16 +0200
committerTommaso Negri <me@tommasongr.com>2026-08-28 18:18:16 +0200
commit3615193ae44bf4afbc315e5e97d8f3d909e7c16b (patch)
treec98308936ec2e87421db7f7cbe8a5a46704bf19a /Package.swift
downloadaria-3615193ae44bf4afbc315e5e97d8f3d909e7c16b.tar.gz
aria-3615193ae44bf4afbc315e5e97d8f3d909e7c16b.zip
initial commit
Diffstat (limited to 'Package.swift')
-rw-r--r--Package.swift26
1 files changed, 26 insertions, 0 deletions
diff --git a/Package.swift b/Package.swift
new file mode 100644
index 0000000..ae8edd6
--- /dev/null
+++ b/Package.swift
@@ -0,0 +1,26 @@
+// swift-tools-version: 6.3
+// The swift-tools-version declares the minimum version of Swift required to build this package.
+
+import PackageDescription
+
+let package = Package(
+ name: "aria",
+ dependencies: [
+ .package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.2.0"),
+ ],
+ 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: "aria",
+ dependencies: [
+ .product(name: "ArgumentParser", package: "swift-argument-parser"),
+ ]
+ ),
+ .testTarget(
+ name: "ariaTests",
+ dependencies: ["aria"]
+ ),
+ ],
+ swiftLanguageModes: [.v6]
+)