-// swift-tools-version:5.0
+// swift-tools-version:5.8
import PackageDescription
let package = Package(
name: "lyricli",
dependencies: [
- /// 🔡 Tools for working with HTML entities
- .package(url: "https://github.com/IBM-Swift/swift-html-entities.git", from: "3.0.11"),
+ /// HTML Parsing
+ .package(url: "https://github.com/scinfu/SwiftSoup.git", from: "2.5.3"),
/// 🚩 Command Line Arguments
- .package(url: "https://github.com/Subito-it/Bariloche", from: "1.0.4")
+ .package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.2.2")
],
targets: [
- .target(
+ .executableTarget(
name: "lyricli",
- dependencies: ["HTMLEntities", "Bariloche"]),
- .testTarget(
- name: "lyricliTests",
- dependencies: ["lyricli"]),
+ dependencies: [
+ .product(name: "SwiftSoup", package: "SwiftSoup"),
+ .product(name: "ArgumentParser", package: "swift-argument-parser")
+ ])
]
)