Files
openclaw/apps/shared/ClawdbotKit/Package.swift

44 lines
1.3 KiB
Swift
Raw Normal View History

2025-12-12 21:18:46 +00:00
// swift-tools-version: 6.2
import PackageDescription
let package = Package(
2026-01-04 14:32:47 +00:00
name: "ClawdbotKit",
2025-12-12 21:18:46 +00:00
platforms: [
.iOS(.v17),
.macOS(.v15),
],
products: [
2026-01-04 14:32:47 +00:00
.library(name: "ClawdbotKit", targets: ["ClawdbotKit"]),
.library(name: "ClawdbotChatUI", targets: ["ClawdbotChatUI"]),
2025-12-12 21:18:46 +00:00
],
2025-12-30 12:48:09 +01:00
dependencies: [
2026-01-01 20:19:00 +01:00
.package(url: "https://github.com/steipete/ElevenLabsKit", exact: "0.1.0"),
2025-12-30 12:48:09 +01:00
],
2025-12-12 21:18:46 +00:00
targets: [
.target(
2026-01-04 14:32:47 +00:00
name: "ClawdbotKit",
2025-12-30 12:48:09 +01:00
dependencies: [
.product(name: "ElevenLabsKit", package: "ElevenLabsKit"),
],
2025-12-18 10:44:06 +01:00
resources: [
.process("Resources"),
],
2025-12-12 21:18:46 +00:00
swiftSettings: [
.enableUpcomingFeature("StrictConcurrency"),
]),
.target(
2026-01-04 14:32:47 +00:00
name: "ClawdbotChatUI",
dependencies: ["ClawdbotKit"],
swiftSettings: [
.enableUpcomingFeature("StrictConcurrency"),
]),
.testTarget(
2026-01-04 14:32:47 +00:00
name: "ClawdbotKitTests",
dependencies: ["ClawdbotKit", "ClawdbotChatUI"],
swiftSettings: [
.enableUpcomingFeature("StrictConcurrency"),
.enableExperimentalFeature("SwiftTesting"),
]),
2025-12-12 21:18:46 +00:00
])