-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
33 lines (32 loc) · 1.15 KB
/
Copy pathPackage.swift
File metadata and controls
33 lines (32 loc) · 1.15 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
// swift-tools-version: 6.0
import PackageDescription
// CodingBar — a lightweight macOS menu bar app that visualizes local AI coding agent usage.
// Pure SwiftPM (no Xcode project). Language mode v5 to keep concurrency pragmatic for v1.
let package = Package(
name: "CodingBar",
platforms: [.macOS(.v14)],
dependencies: [
// Sparkle powers in-app auto-update (EdDSA-signed appcast → silent install).
// Pinned to a 2.x range so we follow patch fixes without breaking changes.
.package(url: "https://github.com/sparkle-project/Sparkle.git", from: "2.8.1"),
],
targets: [
.target(
name: "CodingBarCore",
swiftSettings: [.swiftLanguageMode(.v5)]
),
.executableTarget(
name: "CodingBar",
dependencies: [
"CodingBarCore",
.product(name: "Sparkle", package: "Sparkle"),
],
swiftSettings: [.swiftLanguageMode(.v5)]
),
.testTarget(
name: "CodingBarCoreTests",
dependencies: ["CodingBarCore"],
swiftSettings: [.swiftLanguageMode(.v5)]
),
]
)