2024-12-10 09:40:41 +00:00
|
|
|
// swift-tools-version: 6.0
|
|
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
|
|
|
|
import PackageDescription
|
|
|
|
|
|
|
|
let package = Package(
|
|
|
|
name: "SwiftDevRant",
|
2024-12-10 16:33:57 +00:00
|
|
|
platforms: [.iOS(.v13), .macOS(.v10_15), .tvOS(.v13), .watchOS(.v6), .driverKit(.v19), .macCatalyst(.v13), .visionOS(.v1)],
|
2024-12-10 09:40:41 +00:00
|
|
|
products: [
|
|
|
|
// Products define the executables and libraries a package produces, making them visible to other packages.
|
|
|
|
.library(
|
|
|
|
name: "SwiftDevRant",
|
2024-12-10 16:33:57 +00:00
|
|
|
targets: ["SwiftDevRant"]
|
|
|
|
),
|
2024-12-10 09:40:41 +00:00
|
|
|
],
|
|
|
|
targets: [
|
|
|
|
// Targets are the basic building blocks of a package, defining a module or a test suite.
|
|
|
|
// Targets can depend on other targets in this package and products from dependencies.
|
|
|
|
.target(
|
2024-12-10 11:05:03 +00:00
|
|
|
name: "SwiftDevRant"
|
|
|
|
),
|
2024-12-10 09:40:41 +00:00
|
|
|
.testTarget(
|
|
|
|
name: "SwiftDevRantTests",
|
|
|
|
dependencies: ["SwiftDevRant"]
|
|
|
|
),
|
|
|
|
]
|
|
|
|
)
|