From 46836f1296fc30b5cff682ba34ac69ea7c037d2f Mon Sep 17 00:00:00 2001 From: meatball Date: Fri, 3 Jan 2025 22:37:19 +0100 Subject: [PATCH] Add swift numerics as a package for concept exercises as welk --- Package.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index c566f2b7..b681a391 100644 --- a/Package.swift +++ b/Package.swift @@ -34,11 +34,13 @@ let conceptExerciseTargets: [Target] = conceptExercises.flatMap { return [ .target( name:"\($0.pascalCased)", + dependencies: [.product(name: "Numerics", package: "swift-numerics")], path:"./exercises/concept/\($0)/.meta/Sources"), .testTarget( name:"\($0.pascalCased)Tests", dependencies: [ - .target(name:"\($0.pascalCased)") + .target(name:"\($0.pascalCased)"), + .product(name: "Numerics", package: "swift-numerics") ], path:"./exercises/concept/\($0)/Tests", exclude: ["LinuxMain.swift"])