-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
31 lines (29 loc) · 882 Bytes
/
Package.swift
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
// swift-tools-version:5.9
import PackageDescription
let package = Package(
name: "Pomodoro",
platforms: [
.macOS(.v10_15),
],
products: [
.executable(name: "pomodoro-cli", targets: ["PomodoroCLI"])
],
dependencies: [
.package(
url: "https://github.com/dirtyhenry/swift-blocks",
branch: "main"
),
.package(
url: "https://github.com/apple/swift-argument-parser",
from: "1.1.4"
)
],
targets: [
.target(name: "Pomodoro", dependencies: [
.product(name: "Blocks", package: "swift-blocks"),
.product(name: "ArgumentParser", package: "swift-argument-parser")
]),
.executableTarget(name: "PomodoroCLI", dependencies: ["Pomodoro"]),
.testTarget(name: "PomodoroTests", dependencies: ["Pomodoro"]),
]
)