]> git.r.bdr.sh - rbdr/patterns/blame - Package.swift
Add supported platforms
[rbdr/patterns] / Package.swift
CommitLineData
575722f4
RBR
1// swift-tools-version: 5.8
2// The swift-tools-version declares the minimum version of Swift required to build this package.
3
4import PackageDescription
5
6let package = Package(
7 name: "Patterns",
8b0b5b39 8 platforms: [
68ce4355
RBR
9 .macOS(.v12),
10 .iOS(.v15),
11 .macCatalyst(.v15),
12 .tvOS(.v15),
13 .watchOS(.v8)
8b0b5b39 14 ],
575722f4
RBR
15 products: [
16 // Products define the executables and libraries a package produces, and make them visible to other packages.
17 .library(
18 name: "Patterns",
1418fe49 19 targets: ["Patterns"])
575722f4
RBR
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",
1418fe49 33 dependencies: ["Patterns"])
575722f4
RBR
34 ]
35)