]> git.r.bdr.sh - rbdr/lyricli/blobdiff - Package.swift
Use swiftsoup for parsing
[rbdr/lyricli] / Package.swift
index 602b04b5005b048a894a15d2ca0d647e9821d18f..508b5fbd57ae59ba34db44636da1b6a90994d303 100644 (file)
@@ -1,8 +1,22 @@
+// swift-tools-version:5.8
+
 import PackageDescription
 
 let package = Package(
     name: "lyricli",
     dependencies: [
-        .Package(url: "https://github.com/rbdr/CommandLineKit", majorVersion: 4, minor: 0),
+        /// HTML Parsing
+        .package(url: "https://github.com/scinfu/SwiftSoup.git", from: "2.5.3"),
+
+        /// ðŸš© Command Line Arguments
+        .package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.2.2")
+    ],
+    targets: [
+        .executableTarget(
+            name: "lyricli",
+            dependencies: [
+                .product(name: "SwiftSoup", package: "SwiftSoup"),
+                .product(name: "ArgumentParser", package: "swift-argument-parser")
+            ])
     ]
 )