-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
34 lines (32 loc) · 1.13 KB
/
Package.swift
File metadata and controls
34 lines (32 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// swift-tools-version: 6.2
// The swift-tools-version declares the minimum version of Swift required to build this package.
//
// SPDX-FileCopyrightText: 2025 Iva Horn
// SPDX-License-Identifier: MIT
import PackageDescription
let package = Package(
name: "Rainmaker",
platforms: [
.iOS(.v26),
.macOS(.v26),
.tvOS(.v26),
.visionOS(.v26),
.watchOS(.v26),
],
products: [
.library(name: "Rainmaker", targets: ["Rainmaker"]),
.executable(name: "rainmaker-cli", targets: ["RainmakerCLI"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.6.2"),
.package(url: "https://github.com/nicklockwood/SwiftFormat", from: "0.55.0"),
],
targets: [
.target(name: "Rainmaker", resources: [.copy("Requests/Bodies")]),
.executableTarget(name: "RainmakerCLI", dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser"),
"Rainmaker",
]),
.testTarget(name: "RainmakerTests", dependencies: ["Rainmaker"], resources: [.copy("Responses")]),
]
)