32 lines
1.1 KiB
Swift
Raw Normal View History

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
],
dependencies: [
.package(url: "https://github.com/WilhelmOks/KreeRequest", .upToNextMajor(from: "1.0.2")),
],
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(
name: "SwiftDevRant",
dependencies: ["KreeRequest"]
2024-12-10 11:05:03 +00:00
),
2024-12-10 09:40:41 +00:00
.testTarget(
name: "SwiftDevRantTests",
dependencies: ["SwiftDevRant"]
),
]
)