Skip to content

Commit 7b20f33

Browse files
committed
Update Package.swift
1 parent 32c1a92 commit 7b20f33

File tree

1 file changed

+10
-20
lines changed

1 file changed

+10
-20
lines changed

Package.swift

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,21 @@
1-
// swift-tools-version:5.0
1+
// swift-tools-version:5.1
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33

44
import PackageDescription
55

66
let package = Package(
77
name: "Then",
8-
products: [
9-
// Products define the executables and libraries produced by a package, and make them visible to other packages.
10-
.library(
11-
name: "Then",
12-
targets: ["Then"])
8+
platforms: [
9+
.iOS(.v8),
10+
.macOS(.v10_10),
11+
.tvOS(.v9),
12+
.watchOS(.v6)
1313
],
14-
dependencies: [
15-
// Dependencies declare other packages that this package depends on.
16-
// .package(url: /* package url */, from: "1.0.0"),
14+
products: [
15+
.library(name: "Then", targets: ["Then"])
1716
],
1817
targets: [
19-
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
20-
// Targets can depend on other targets in this package, and on products
21-
// in packages which this package depends on.
22-
.target(
23-
name: "Then",
24-
dependencies: [],
25-
path: "Source"),
26-
.testTarget(
27-
name: "ThenTests",
28-
dependencies: ["Then"],
29-
path: "ThenTests")
18+
.target(name: "Then", path: "Source"),
19+
.testTarget(name: "ThenTests", dependencies: ["Then"], path: "ThenTests")
3020
]
3121
)

0 commit comments

Comments
 (0)