]>
Commit | Line | Data |
---|---|---|
1 | // swift-tools-version: 5.8 | |
2 | // The swift-tools-version declares the minimum version of Swift required to build this package. | |
3 | ||
4 | import PackageDescription | |
5 | ||
6 | let package = Package( | |
7 | name: "Patterns", | |
8 | products: [ | |
9 | // Products define the executables and libraries a package produces, and make them visible to other packages. | |
10 | .library( | |
11 | name: "Patterns", | |
12 | targets: ["Patterns"]), | |
13 | ], | |
14 | dependencies: [ | |
15 | // Dependencies declare other packages that this package depends on. | |
16 | // .package(url: /* package url */, from: "1.0.0"), | |
17 | ], | |
18 | 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. | |
21 | .target( | |
22 | name: "Patterns", | |
23 | dependencies: []), | |
24 | .testTarget( | |
25 | name: "PatternsTests", | |
26 | dependencies: ["Patterns"]), | |
27 | ] | |
28 | ) |