File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 1
- // swift-tools-version:4.0
1
+ // swift-tools-version:5.3
2
2
// The swift-tools-version declares the minimum version of Swift required to build this package.
3
3
4
4
/*
@@ -20,16 +20,22 @@ let package = Package(
20
20
] ,
21
21
dependencies: [
22
22
// Dependencies declare other packages that this package depends on.
23
- . package ( url: " https://github.com/apple/example-package-deckofplayingcards.git " , from: " 3.0.0 " ) ,
23
+ . package ( name: " DeckOfPlayingCards " ,
24
+ url: " https://github.com/apple/example-package-deckofplayingcards.git " ,
25
+ from: " 3.0.0 " ) ,
24
26
] ,
25
27
targets: [
26
28
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
27
29
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
28
30
. target(
29
31
name: " Dealer " ,
30
- dependencies: [ " DeckOfPlayingCards " ] ) ,
32
+ dependencies: [
33
+ . byName( name: " DeckOfPlayingCards " )
34
+ ] ) ,
31
35
. testTarget(
32
36
name: " DealerTests " ,
33
- dependencies: [ " Dealer " ] ) ,
37
+ dependencies: [
38
+ . byName( name: " Dealer " )
39
+ ] ) ,
34
40
]
35
41
)
You can’t perform that action at this time.
0 commit comments