-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
47 lines (45 loc) · 1.51 KB
/
Package.swift
File metadata and controls
47 lines (45 loc) · 1.51 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
42
43
44
45
46
47
// swift-tools-version: 5.10
import PackageDescription
let package = Package(
name: "Como",
platforms: [
.macOS(.v14),
],
products: [
.executable(name: "Como", targets: ["ComoApp"]),
],
dependencies: [
// ChimeHQ core libraries
.package(url: "https://github.com/ChimeHQ/Neon", branch: "main"),
.package(url: "https://github.com/ChimeHQ/IBeam", branch: "main"),
.package(url: "https://github.com/ChimeHQ/TextFormation", branch: "main"),
.package(url: "https://github.com/ChimeHQ/Ligature", branch: "main"),
.package(url: "https://github.com/ChimeHQ/ThemePark", branch: "main"),
// Tree-sitter parsers for syntax highlighting (SPM-compatible)
// Note: Using TypeScript parser for both JS and TS (tree-sitter-javascript has broken SPM package)
.package(url: "https://github.com/tree-sitter/tree-sitter-typescript", branch: "master"),
.package(url: "https://github.com/alex-pinkus/tree-sitter-swift", branch: "with-generated-files"),
.package(url: "https://github.com/tree-sitter/tree-sitter-json", branch: "master"),
],
targets: [
.executableTarget(
name: "ComoApp",
dependencies: [
"Neon",
"IBeam",
"TextFormation",
"Ligature",
"ThemePark",
.product(name: "TreeSitterTypeScript", package: "tree-sitter-typescript"),
.product(name: "TreeSitterSwift", package: "tree-sitter-swift"),
.product(name: "TreeSitterJSON", package: "tree-sitter-json"),
],
path: "Sources"
),
.testTarget(
name: "ComoTests",
dependencies: ["ComoApp"],
path: "Tests"
),
]
)