Skip to content

Commit

Permalink
Add swift numerics as a package for concept exercises as welk
Browse files Browse the repository at this point in the history
  • Loading branch information
meatball133 committed Jan 3, 2025
1 parent 9903f95 commit 46836f1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
Expand Down

0 comments on commit 46836f1

Please sign in to comment.