Skip to content

Commit d50d80f

Browse files
authored
updating example to use Swift 5.10 for consistency (#15)
1 parent d2474d9 commit d50d80f

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

Package.swift

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// swift-tools-version:5.5
2-
// The swift-tools-version declares the minimum version of Swift required to build this package.
1+
// swift-tools-version:5.10
32

43
/*
54
This source file is part of the Swift.org open source project
@@ -19,18 +18,18 @@ let package = Package(
1918
.macOS(.v11)
2019
],
2120
products: [
22-
.executable(name: "dealer", targets: ["dealer"]),
21+
.executable(name: "dealer",
22+
targets: ["dealer"]),
2323
],
2424
dependencies: [
25-
// Dependencies declare other packages that this package depends on.
26-
.package(url: "https://github.com/apple/example-package-deckofplayingcards.git",
27-
from: "3.0.0"),
28-
.package(url: "https://github.com/apple/swift-argument-parser.git",
29-
from: "0.4.4"),
25+
.package(
26+
url: "https://github.com/apple/example-package-deckofplayingcards.git",
27+
from: "3.0.0"),
28+
.package(
29+
url: "https://github.com/apple/swift-argument-parser.git",
30+
from: "0.4.4"),
3031
],
3132
targets: [
32-
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
33-
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
3433
.executableTarget(
3534
name: "dealer",
3635
dependencies: [

0 commit comments

Comments
 (0)