28 lines
727 B
Swift
28 lines
727 B
Swift
|
|
// swift-tools-version: 5.9
|
||
|
|
import PackageDescription
|
||
|
|
|
||
|
|
// Shared, cross-platform cockpit core — model + components + design tokens.
|
||
|
|
// Consumed by both ai-copilot front-ends (ios-fe, macos-fe).
|
||
|
|
|
||
|
|
let package = Package(
|
||
|
|
name: "CocotteCockpitKit",
|
||
|
|
platforms: [
|
||
|
|
.macOS(.v14),
|
||
|
|
.iOS(.v17),
|
||
|
|
],
|
||
|
|
products: [
|
||
|
|
.library(name: "CocotteCockpitKit", targets: ["CocotteCockpitKit"]),
|
||
|
|
],
|
||
|
|
targets: [
|
||
|
|
.target(
|
||
|
|
name: "CocotteCockpitKit",
|
||
|
|
path: "Sources/CocotteCockpitKit"
|
||
|
|
),
|
||
|
|
.testTarget(
|
||
|
|
name: "CocotteCockpitKitTests",
|
||
|
|
dependencies: ["CocotteCockpitKit"],
|
||
|
|
path: "Tests/CocotteCockpitKitTests"
|
||
|
|
),
|
||
|
|
]
|
||
|
|
)
|