-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
19 lines (18 loc) · 774 Bytes
/
Copy pathPackage.swift
File metadata and controls
19 lines (18 loc) · 774 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// swift-tools-version: 5.9
import PackageDescription
let package = Package(
name: "isync",
platforms: [.macOS(.v13)],
products: [
.executable(name: "isync", targets: ["isync"]),
.library(name: "ISyncCore", targets: ["ISyncCore"]),
],
targets: [
// Pure engine: scanning, planning, copying, verifying. No terminal code.
// Kept separate so a SwiftUI front end can reuse it later.
.target(name: "ISyncCore", path: "Sources/ISyncCore"),
// Command-line front end: argument parsing + live terminal UI.
.executableTarget(name: "isync", dependencies: ["ISyncCore"], path: "Sources/isync"),
.testTarget(name: "ISyncCoreTests", dependencies: ["ISyncCore"], path: "Tests/ISyncCoreTests"),
]
)