From 7dfddb8d4c3a4a6c870e1e064b9b3467c1c5005d Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Sun, 19 Jan 2025 01:27:06 +0100 Subject: [PATCH] Added the Swift Mustache package dependency to the Package file, and attached its product to the library target. --- Package.swift | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Package.swift b/Package.swift index 9a07581..c42d31c 100644 --- a/Package.swift +++ b/Package.swift @@ -12,7 +12,8 @@ let package = Package( .library(name: "ColibriLibrary", targets: ["ColibriLibrary"]) ], 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: [ .executableTarget( @@ -25,7 +26,9 @@ let package = Package( ), .target( name: "ColibriLibrary", - dependencies: [], + dependencies: [ + .product(name: "Mustache", package: "swift-mustache") + ], path: "Library", resources: [ .copy("Resources")