-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPackage.swift
More file actions
41 lines (40 loc) · 1.33 KB
/
Copy pathPackage.swift
File metadata and controls
41 lines (40 loc) · 1.33 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
35
36
37
38
39
40
41
// swift-tools-version: 5.9
import PackageDescription
// SkillPatterns — a compile-checked reference implementation of this skill's
// core patterns.
//
// Purpose: every Swift snippet in docs/ is prose. This package is the subset
// that actually builds, so CI can prove the patterns compile rather than
// asserting they do. See docs/orchestration/verification.md.
//
// Deliberately scoped to STABLE APIs (iOS 17 / macOS 14) so it builds on
// standard CI runners. Beta-SDK features — Liquid Glass, Foundation Models —
// are documented but not compile-checked here, which is why those doc sections
// carry a verification note.
let package = Package(
name: "SkillPatterns",
platforms: [
.iOS(.v17),
.macOS(.v14),
.watchOS(.v10),
.tvOS(.v17),
.visionOS(.v1)
],
products: [
.library(name: "SkillPatterns", targets: ["SkillPatterns"])
],
targets: [
.target(
name: "SkillPatterns",
swiftSettings: [
// The patterns must hold under strict concurrency — that is
// most of what this package exists to prove.
.enableUpcomingFeature("StrictConcurrency")
]
),
.testTarget(
name: "SkillPatternsTests",
dependencies: ["SkillPatterns"]
)
]
)