From cd19bf02722fe790aca08498d04f7ad7ccad5b75 Mon Sep 17 00:00:00 2001 From: Leo Dion Date: Mon, 14 Oct 2024 15:03:57 -0400 Subject: [PATCH 1/5] pointing to subrepos --- Package.swift | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Package.swift b/Package.swift index 3bab51c..53939bf 100644 --- a/Package.swift +++ b/Package.swift @@ -41,23 +41,16 @@ let package = Package( .library(name: "Sublimation", targets: ["Sublimation"]), .library(name: "SublimationCore", targets: ["SublimationCore"]) ], - dependencies: [ - .package(url: "https://github.com/apple/swift-log.git", from: "1.0.0") - ], targets: [ .target( name: "Sublimation", dependencies: [ - "SublimationCore", - .product(name: "Logging", package: "swift-log") + "SublimationCore" ], swiftSettings: swiftSettings ), .target( name: "SublimationCore", - dependencies: [ - .product(name: "Logging", package: "swift-log") - ], swiftSettings: swiftSettings ), .testTarget( From 1cf60542021de360319b68a0c86d735f9b0263f6 Mon Sep 17 00:00:00 2001 From: Leo Dion Date: Mon, 14 Oct 2024 15:26:28 -0400 Subject: [PATCH 2/5] working through local packages --- Sources/Sublimation/Sublimation.swift | 1 - Sources/SublimationCore/Application.swift | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Sources/Sublimation/Sublimation.swift b/Sources/Sublimation/Sublimation.swift index b2b8b04..f3ec470 100644 --- a/Sources/Sublimation/Sublimation.swift +++ b/Sources/Sublimation/Sublimation.swift @@ -28,7 +28,6 @@ // import Foundation -import Logging public import SublimationCore /// Adds the ability to auto-discover development urls to your full stack applicaiton. diff --git a/Sources/SublimationCore/Application.swift b/Sources/SublimationCore/Application.swift index 26b6369..12282a3 100644 --- a/Sources/SublimationCore/Application.swift +++ b/Sources/SublimationCore/Application.swift @@ -28,7 +28,7 @@ // public import Foundation -public import Logging +//public import Logging /// Server Application @available(*, deprecated, message: "Only used by SublimationNgrok.") public protocol Application { @@ -38,8 +38,8 @@ public import Logging /// Whether the server is running on https or http. var httpServerTLS: Bool { get } - /// The logger for the server application. - var logger: Logger { get } +// /// The logger for the server application. +// var logger: Logger { get } /// Posts data to a url. /// - Parameters: From 3a547e34e028bb6e26b84fe7e3089cf3be44b98d Mon Sep 17 00:00:00 2001 From: leogdion Date: Thu, 17 Oct 2024 13:10:06 -0400 Subject: [PATCH 3/5] Update Application.swift --- Sources/SublimationCore/Application.swift | 3 --- 1 file changed, 3 deletions(-) diff --git a/Sources/SublimationCore/Application.swift b/Sources/SublimationCore/Application.swift index 12282a3..3d55160 100644 --- a/Sources/SublimationCore/Application.swift +++ b/Sources/SublimationCore/Application.swift @@ -38,9 +38,6 @@ public import Foundation /// Whether the server is running on https or http. var httpServerTLS: Bool { get } -// /// The logger for the server application. -// var logger: Logger { get } - /// Posts data to a url. /// - Parameters: /// - url: The url to post to. From a342f5c67827329a7db1caa1c700da79fa40cc7d Mon Sep 17 00:00:00 2001 From: Leo Dion Date: Thu, 17 Oct 2024 15:47:37 -0400 Subject: [PATCH 4/5] removing dependencies --- Package.resolved | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 Package.resolved diff --git a/Package.resolved b/Package.resolved deleted file mode 100644 index da9962c..0000000 --- a/Package.resolved +++ /dev/null @@ -1,15 +0,0 @@ -{ - "originHash" : "cd08db74df2a8f06d7330086fd1e59256ee470c6728689829d13ec97f6e9f232", - "pins" : [ - { - "identity" : "swift-log", - "kind" : "remoteSourceControl", - "location" : "https://github.com/apple/swift-log.git", - "state" : { - "revision" : "e97a6fcb1ab07462881ac165fdbb37f067e205d5", - "version" : "1.5.4" - } - } - ], - "version" : 3 -} From e0cc324217645e3182bfce341d77520d7ea0e468 Mon Sep 17 00:00:00 2001 From: leogdion Date: Thu, 17 Oct 2024 16:43:49 -0400 Subject: [PATCH 5/5] Update Application.swift --- Sources/SublimationCore/Application.swift | 1 - 1 file changed, 1 deletion(-) diff --git a/Sources/SublimationCore/Application.swift b/Sources/SublimationCore/Application.swift index 3d55160..5787b8d 100644 --- a/Sources/SublimationCore/Application.swift +++ b/Sources/SublimationCore/Application.swift @@ -28,7 +28,6 @@ // public import Foundation -//public import Logging /// Server Application @available(*, deprecated, message: "Only used by SublimationNgrok.") public protocol Application {