Package.swift

1f40d56d3e070ccbd32b237d6be6da11404175b0
orgstar/Package.swift

39 lines · 2117 bytes

 1// swift-tools-version: 6.2
 2import PackageDescription
 3
 4let package = Package(
 5    name: "Orgstar",
 6    platforms: [.macOS(.v26), .iOS(.v26)],
 7    products: [
 8        .library(name: "OrgCore", targets: ["OrgCore"]),
 9        .library(name: "OrgDocument", targets: ["OrgDocument"]),
10        .library(name: "OrgIndex", targets: ["OrgIndex"]),
11        .library(name: "OrgWorkspace", targets: ["OrgWorkspace"]),
12        .library(name: "OrgPresentation", targets: ["OrgPresentation"]),
13        .library(name: "OrgEditorAppKit", targets: ["OrgEditorAppKit"]),
14        .executable(name: "OrgstarSpike", targets: ["OrgstarSpike"]),
15        .library(name: "OrgApp", targets: ["OrgApp"]),
16        .executable(name: "Orgstar", targets: ["Orgstar"])
17    ],
18    dependencies: [
19        .package(url: "https://github.com/groue/GRDB.swift", from: "7.11.1")
20    ],
21    targets: [
22        .target(name: "OrgCore"),
23        .target(name: "OrgDocument", dependencies: ["OrgCore"]),
24        .target(name: "OrgIndex", dependencies: ["OrgCore", .product(name: "GRDB", package: "GRDB.swift")]),
25        .target(name: "OrgWorkspace", dependencies: ["OrgIndex"]),
26        .target(name: "OrgPresentation", dependencies: ["OrgCore"]),
27        .target(name: "OrgEditorAppKit", dependencies: ["OrgDocument", "OrgPresentation"]),
28        .executableTarget(name: "OrgstarSpike", dependencies: ["OrgEditorAppKit"]),
29        .target(name: "OrgApp", dependencies: ["OrgWorkspace", "OrgDocument", "OrgPresentation"]),
30        .executableTarget(name: "Orgstar", dependencies: ["OrgApp", "OrgEditorAppKit"]),
31        .testTarget(name: "OrgCoreTests", dependencies: ["OrgCore"]),
32        .testTarget(name: "OrgDocumentTests", dependencies: ["OrgDocument"]),
33        .testTarget(name: "OrgIndexTests", dependencies: ["OrgIndex"]),
34        .testTarget(name: "OrgWorkspaceTests", dependencies: ["OrgWorkspace"]),
35        .testTarget(name: "OrgPresentationTests", dependencies: ["OrgPresentation"]),
36        .testTarget(name: "OrgEditorAppKitTests", dependencies: ["OrgEditorAppKit"]),
37        .testTarget(name: "OrgAppTests", dependencies: ["OrgApp"])
38    ]
39)
Keyboard shortcuts

Global

⌘K
Command palette & jump
/
Focus search
?
Show this help
g d
Dashboard
g e
Explore repositories
g n
Notifications

Repository & editor

t
Find file in repository
y
Copy immutable SHA permalink
g c
Code tab
g i
Issues tab
g m
Merge requests tab
g b
Builds tab
⌘↵
Submit active form