30 lines
953 B
Swift
30 lines
953 B
Swift
// swift-tools-version: 5.9
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "Seanut",
|
|
platforms: [
|
|
.macOS(.v10_15),
|
|
],
|
|
products: [
|
|
.executable(name: "seanut", targets: ["Seanut"])
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.3.0"),
|
|
.package(url: "https://github.com/jellyfin/jellyfin-sdk-swift", from: "0.3.2"),
|
|
],
|
|
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: "Seanut",
|
|
dependencies: [
|
|
.product(name: "ArgumentParser", package: "swift-argument-parser"),
|
|
.product(name: "JellyfinAPI", package: "jellyfin-sdk-swift"),
|
|
],
|
|
path: "Sources"
|
|
),
|
|
]
|
|
)
|