]> git.r.bdr.sh - rbdr/lyricli/blobdiff - Package.swift
add distribution to gitignore
[rbdr/lyricli] / Package.swift
index 5027708d1bad39f90412a209caa362c6bd89c24e..508b5fbd57ae59ba34db44636da1b6a90994d303 100644 (file)
@@ -1,9 +1,22 @@
+// swift-tools-version:5.8
+
 import PackageDescription
 
 let package = Package(
     name: "lyricli",
     dependencies: [
 import PackageDescription
 
 let package = Package(
     name: "lyricli",
     dependencies: [
-        .Package(url: "https://github.com/rbdr/CommandLineKit", majorVersion: 4, minor: 0),
-        .Package(url: "https://github.com/IBM-Swift/swift-html-entities.git", majorVersion: 3, 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")
+            ])
     ]
 )
     ]
 )