]> git.r.bdr.sh - rbdr/lyricli/blobdiff - Package.swift
add distribution to gitignore
[rbdr/lyricli] / Package.swift
index 58b329499f7fee20674d6405240efc80b18297a1..508b5fbd57ae59ba34db44636da1b6a90994d303 100644 (file)
@@ -1,22 +1,22 @@
-// 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")
+            ])
     ]
 )