Skip to content

Commit f7680dc

Browse files
committed
Add platforms
1 parent 11f9a0b commit f7680dc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Package.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
// swift-tools-version:5.3
2-
// The swift-tools-version declares the minimum version of Swift required to build this package.
32

43
import PackageDescription
54

65
let package = Package(
76
name: "HTTPClient",
7+
platforms: [
8+
.iOS(.v8),
9+
.macOS(.v10_10),
10+
.tvOS(.v9),
11+
.watchOS(.v2),
12+
],
813
products: [
9-
// Products define the executables and libraries a package produces, and make them visible to other packages.
1014
.library(
1115
name: "HTTPClient",
1216
targets: ["HTTPClient"]),
1317
],
1418
dependencies: [
15-
// Dependencies declare other packages that this package depends on.
16-
// .package(url: /* package url */, from: "1.0.0"),
1719
],
1820
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 in packages this package depends on.
2121
.target(
2222
name: "HTTPClient",
2323
dependencies: []),

0 commit comments

Comments
 (0)