File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change 1+ // swift-tools-version:4.0
2+ // The swift-tools-version declares the minimum version of Swift required to build this package.
3+
14import PackageDescription
25
36let 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)
You can’t perform that action at this time.
0 commit comments