Add swift-log so we can log loading errors

This commit is contained in:
Adam Fowler
2021-03-15 16:08:10 +00:00
parent 5a2f22df4f
commit 03cfa42c02
3 changed files with 17 additions and 7 deletions

View File

@@ -8,9 +8,13 @@ let package = Package(
products: [
.library(name: "HummingbirdMustache", targets: ["HummingbirdMustache"]),
],
dependencies: [],
dependencies: [
.package(url: "https://github.com/apple/swift-log.git", from: "1.4.0"),
],
targets: [
.target(name: "HummingbirdMustache", dependencies: []),
.target(name: "HummingbirdMustache", dependencies: [
.product(name: "Logging", package: "swift-log"),
]),
.testTarget(name: "HummingbirdMustacheTests", dependencies: ["HummingbirdMustache"]),
]
)