-
Notifications
You must be signed in to change notification settings - Fork 339
/
Package.swift
76 lines (73 loc) · 1.98 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
// swift-tools-version:5.5
/**
* Publish
* Copyright (c) John Sundell 2019
* MIT license, see LICENSE file for details
*/
import PackageDescription
let package = Package(
name: "Publish",
platforms: [.macOS(.v12)],
products: [
.library(name: "Publish", targets: ["Publish"]),
.executable(name: "publish-cli", targets: ["PublishCLI"])
],
dependencies: [
.package(
name: "Ink",
url: "https://github.com/johnsundell/ink.git",
from: "0.2.0"
),
.package(
name: "Plot",
url: "https://github.com/johnsundell/plot.git",
from: "0.9.0"
),
.package(
name: "Files",
url: "https://github.com/johnsundell/files.git",
from: "4.0.0"
),
.package(
name: "Codextended",
url: "https://github.com/johnsundell/codextended.git",
from: "0.1.0"
),
.package(
name: "ShellOut",
url: "https://github.com/johnsundell/shellout.git",
from: "2.3.0"
),
.package(
name: "Sweep",
url: "https://github.com/johnsundell/sweep.git",
from: "0.4.0"
),
.package(
name: "CollectionConcurrencyKit",
url: "https://github.com/johnsundell/collectionConcurrencyKit.git",
from: "0.1.0"
)
],
targets: [
.target(
name: "Publish",
dependencies: [
"Ink", "Plot", "Files", "Codextended",
"ShellOut", "Sweep", "CollectionConcurrencyKit"
]
),
.executableTarget(
name: "PublishCLI",
dependencies: ["PublishCLICore"]
),
.target(
name: "PublishCLICore",
dependencies: ["Publish"]
),
.testTarget(
name: "PublishTests",
dependencies: ["Publish", "PublishCLICore"]
)
]
)