File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 33
33
let conceptExerciseTargets : [ Target ] = conceptExercises. flatMap {
34
34
return [
35
35
. target(
36
- name: " \( $0. pascalCased) " ,
36
+ name: " \( $0. pascalCased) " ,
37
+ dependencies: [ . product( name: " Numerics " , package : " swift-numerics " ) ] ,
37
38
path: " ./exercises/concept/ \( $0) /.meta/Sources " ) ,
38
39
. testTarget(
39
40
name: " \( $0. pascalCased) Tests " ,
40
41
dependencies: [
41
- . target( name: " \( $0. pascalCased) " )
42
+ . target( name: " \( $0. pascalCased) " ) ,
43
+ . product( name: " Numerics " , package : " swift-numerics " )
42
44
] ,
43
45
path: " ./exercises/concept/ \( $0) /Tests " ,
44
46
exclude: [ " LinuxMain.swift " ] )
@@ -70,6 +72,6 @@ let package = Package(
70
72
name: " xswift " ,
71
73
targets: allTargets. filter { $0. type == . regular } . map { $0. name } )
72
74
] ,
73
- dependencies: [ . package ( url: " https://github.com/apple/swift-numerics " , from: " 1.0.2 " ) ] ,
75
+ dependencies: [ . package ( url: " https://github.com/apple/swift-numerics " , from: " 1.0.3 " ) ] ,
74
76
targets: allTargets
75
77
)
You can’t perform that action at this time.
0 commit comments