Mac: build GatewayProtocol target and typed presence handling
This commit is contained in:
@@ -20,6 +20,13 @@ let package = Package(
|
||||
.package(url: "https://github.com/sparkle-project/Sparkle", from: "2.8.1"),
|
||||
],
|
||||
targets: [
|
||||
.target(
|
||||
name: "ClawdisProtocol",
|
||||
dependencies: [],
|
||||
path: "Sources/ClawdisProtocol",
|
||||
swiftSettings: [
|
||||
.enableUpcomingFeature("StrictConcurrency"),
|
||||
]),
|
||||
.target(
|
||||
name: "ClawdisIPC",
|
||||
dependencies: [],
|
||||
@@ -30,6 +37,7 @@ let package = Package(
|
||||
name: "Clawdis",
|
||||
dependencies: [
|
||||
"ClawdisIPC",
|
||||
"ClawdisProtocol",
|
||||
.product(name: "AsyncXPCConnection", package: "AsyncXPCConnection"),
|
||||
.product(name: "MenuBarExtraAccess", package: "MenuBarExtraAccess"),
|
||||
.product(name: "Subprocess", package: "swift-subprocess"),
|
||||
@@ -46,6 +54,7 @@ let package = Package(
|
||||
name: "ClawdisCLI",
|
||||
dependencies: [
|
||||
"ClawdisIPC",
|
||||
"ClawdisProtocol",
|
||||
.product(name: "AsyncXPCConnection", package: "AsyncXPCConnection"),
|
||||
],
|
||||
swiftSettings: [
|
||||
|
||||
Reference in New Issue
Block a user