]> git.r.bdr.sh - rbdr/patterns/blob - Package.swift
Add explicit initializers
[rbdr/patterns] / Package.swift
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 .iOS(.v15),
11 .macCatalyst(.v15),
12 .tvOS(.v16),
13 .watchOS(.v8)
14 ],
15 products: [
16 // Products define the executables and libraries a package produces, and make them visible to other packages.
17 .library(
18 name: "Patterns",
19 targets: ["Patterns"])
20 ],
21 dependencies: [
22 // Dependencies declare other packages that this package depends on.
23 // .package(url: /* package url */, from: "1.0.0"),
24 ],
25 targets: [
26 // Targets are the basic building blocks of a package. A target can define a module or a test suite.
27 // Targets can depend on other targets in this package, and on products in packages this package depends on.
28 .target(
29 name: "Patterns",
30 dependencies: []),
31 .testTarget(
32 name: "PatternsTests",
33 dependencies: ["Patterns"])
34 ]
35 )