]>
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 | platforms: [ | |
9 | .macOS(.v12) | |
10 | ], | |
11 | products: [ | |
12 | // Products define the executables and libraries a package produces, and make them visible to other packages. | |
13 | .library( | |
14 | name: "Patterns", | |
15 | targets: ["Patterns"]) | |
16 | ], | |
17 | dependencies: [ | |
18 | // Dependencies declare other packages that this package depends on. | |
19 | // .package(url: /* package url */, from: "1.0.0"), | |
20 | ], | |
21 | targets: [ | |
22 | // Targets are the basic building blocks of a package. A target can define a module or a test suite. | |
23 | // Targets can depend on other targets in this package, and on products in packages this package depends on. | |
24 | .target( | |
25 | name: "Patterns", | |
26 | dependencies: []), | |
27 | .testTarget( | |
28 | name: "PatternsTests", | |
29 | dependencies: ["Patterns"]) | |
30 | ] | |
31 | ) |