fix: rename CxAWS/CxGit umbrella targets to _Re to disambiguate

CxLLM-Drive already defines targets named CxAWS and CxGit; SPM requires
unique target names across the whole package graph. Suffix the umbrella
wrapper targets with _Re; products keep the clean CxAWS / CxGit names.
This commit is contained in:
CxAI Agent 2026-05-16 14:25:40 -05:00
parent 30d9799c88
commit 3b1a0631dd
3 changed files with 8 additions and 7 deletions

View File

@ -17,8 +17,8 @@ let package = Package(
platforms: [.macOS(.v13), .iOS(.v17)],
products: [
.library(name: "CxCode", targets: ["CxCode"]),
.library(name: "CxAWS", targets: ["CxAWS"]),
.library(name: "CxGit", targets: ["CxGit"]),
.library(name: "CxAWS", targets: ["CxAWS_Re"]),
.library(name: "CxGit", targets: ["CxGit_Re"]),
.library(name: "CxAgent", targets: ["CxAgent"]),
.library(name: "CxMCP", targets: ["CxMCP"]),
.library(name: "CxModels", targets: ["CxModels"]),
@ -46,13 +46,14 @@ let package = Package(
.product(name: "CxPlugin", package: "CxLLM-PLG"),
], path: "Sources/CxCode"),
// CxAWS, CxGit, CxDrive umbrella products all live in CxLLM-Drive
.target(name: "CxAWS", dependencies: [
// CxAWS / CxGit umbrella products live in CxLLM-Drive; use _Re suffix
// on the umbrella target to avoid colliding with Drive's target names.
.target(name: "CxAWS_Re", dependencies: [
.product(name: "CxAWS", package: "CxLLM-Drive"),
], path: "Sources/CxAWS"),
.target(name: "CxGit", dependencies: [
], path: "Sources/CxAWS_Re"),
.target(name: "CxGit_Re", dependencies: [
.product(name: "CxGit", package: "CxLLM-Drive"),
], path: "Sources/CxGit"),
], path: "Sources/CxGit_Re"),
// CxAgent / CxMCP / CxModels / CxChat are app-layer modules in CxLLM-IOS
// today. Phase 3 will move them into their own sibling packages; for now