diff options
| author | Grégoire Duchêne <gduchene@awhk.org> | 2025-11-02 19:27:32 +0000 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@awhk.org> | 2025-11-02 19:29:30 +0000 |
| commit | c7d428455c42e8039a6aedeb032b0685d7a47ebb (patch) | |
| tree | f2b2b176fea7d019d578a873fc23af70f54f829a /Package.swift | |
| parent | aee698176a33879e7cb5b23e89157104c4b05c19 (diff) | |
First version of the CLI
It’s pretty basic, and it only works on macOS for now.
Diffstat (limited to 'Package.swift')
| -rw-r--r-- | Package.swift | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..4a1ce2f --- /dev/null +++ b/Package.swift @@ -0,0 +1,27 @@ +// swift-tools-version: 6.2 + +import PackageDescription + +let package = Package( + name: "caffeinate-downloads", + platforms: [.macOS(.v13)], + dependencies: [ + .package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.6.0"), + .package(url: "https://github.com/apple/swift-log.git", from: "1.6.0"), + .package(url: "https://github.com/apple/swift-nio.git", from: "2.88.0"), + .package(url: "https://github.com/apple/swift-system.git", from: "1.6.0"), + .package(url: "https://github.com/swift-server/swift-service-lifecycle.git", from: "2.9.0"), + ], + targets: [ + .executableTarget( + name: "caffeinate-downloads", + dependencies: [ + .product(name: "ArgumentParser", package: "swift-argument-parser"), + .product(name: "Logging", package: "swift-log"), + .product(name: "ServiceLifecycle", package: "swift-service-lifecycle"), + .product(name: "SystemPackage", package: "swift-system"), + .product(name: "_NIOFileSystem", package: "swift-nio"), + ] + ) + ] +) |
