Added the Swift Mustache package dependency to the Package file, and attached its product to the library target.

This commit is contained in:
Javier Cicchelli 2025-01-19 01:27:06 +01:00
parent 36f1b8fe5c
commit 7dfddb8d4c

View File

@ -12,7 +12,8 @@ let package = Package(
.library(name: "ColibriLibrary", targets: ["ColibriLibrary"]) .library(name: "ColibriLibrary", targets: ["ColibriLibrary"])
], ],
dependencies: [ dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.0.0") .package(url: "https://github.com/apple/swift-argument-parser", from: "1.0.0"),
.package(url: "https://github.com/hummingbird-project/swift-mustache", from: "2.0.0")
], ],
targets: [ targets: [
.executableTarget( .executableTarget(
@ -25,7 +26,9 @@ let package = Package(
), ),
.target( .target(
name: "ColibriLibrary", name: "ColibriLibrary",
dependencies: [], dependencies: [
.product(name: "Mustache", package: "swift-mustache")
],
path: "Library", path: "Library",
resources: [ resources: [
.copy("Resources") .copy("Resources")