Skip to content

Commit cc4dcce

Browse files
committed
Updated Package description
1 parent 47ee044 commit cc4dcce

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

Package.swift

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
1+
// swift-tools-version:4.0
2+
// The swift-tools-version declares the minimum version of Swift required to build this package.
3+
14
import PackageDescription
25

36
let package = Package(
4-
name: "HTTP"
7+
name: "HTTP",
8+
products: [
9+
// Products define the executables and libraries produced by a package, and make them visible to other packages.
10+
.library(
11+
name: "HTTP",
12+
targets: ["HTTP"]),
13+
],
14+
targets: [
15+
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
16+
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
17+
.target(
18+
name: "HTTP",
19+
dependencies: []),
20+
.testTarget(
21+
name: "HTTPTests",
22+
dependencies: ["HTTP"]),
23+
]
524
)

0 commit comments

Comments
 (0)