-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
28 lines (27 loc) · 920 Bytes
/
Package.swift
File metadata and controls
28 lines (27 loc) · 920 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// swift-tools-version: 6.0
import PackageDescription
let package = Package(
name: "mpd",
// Minimum deployment target: macOS 14 Sonoma
platforms: [.macOS(.v14)],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.7.0"),
],
targets: [
.executableTarget(
name: "mpd",
dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser"),
],
path: ".",
exclude: [
"bin", "bootstrap",
"assets", "setup",
"docs", "README.md", "LICENSE", "Makefile", "CLAUDE.md", "AGENTS.md"
],
sources: ["mpd"],
// Swift 5 language mode: opt out of Swift 6 strict concurrency (unnecessary for a single-threaded CLI)
swiftSettings: [.swiftLanguageMode(.v5)]
),
]
)