Skip to content

Commit ad433a7

Browse files
committed
Update for Swift 4
1 parent fc78b6d commit ad433a7

File tree

5 files changed

+16
-3
lines changed

5 files changed

+16
-3
lines changed

Diff for: Package.swift

+15-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// swift-tools-version:4.0
2+
// The swift-tools-version declares the minimum version of Swift required to build this package.
3+
14
/*
25
This source file is part of the Swift.org open source project
36

@@ -11,5 +14,16 @@
1114
import PackageDescription
1215

1316
let package = Package(
14-
name: "PlayingCard"
17+
name: "PlayingCard",
18+
products: [
19+
.library(name: "PlayingCard", targets: ["PlayingCard"]),
20+
],
21+
targets: [
22+
.target(
23+
name: "PlayingCard",
24+
dependencies: []),
25+
.testTarget(
26+
name: "PlayingCardTests",
27+
dependencies: ["PlayingCard"]),
28+
]
1529
)

Diff for: README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ This example package will be cloned and built as a dependency if you build the `
22

33
git clone https://github.com/apple/example-package-dealer.git
44
cd example-package-dealer
5-
swift build
6-
.build/debug/Dealer
5+
swift run Dealer
76

87
# License
98

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)