forked from JohnSundell/Publish
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
45 lines (42 loc) · 1.46 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
// swift-tools-version:5.4
/**
* Publish
* Copyright (c) John Sundell 2019
* MIT license, see LICENSE file for details
*/
import PackageDescription
let package = Package(
name: "Publish",
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")
],
targets: [
.target(
name: "Publish",
dependencies: [
"Ink", "Plot", "Files", "Codextended", "ShellOut", "Sweep"
]
),
.executableTarget(
name: "PublishCLI",
dependencies: ["PublishCLICore"]
),
.target(
name: "PublishCLICore",
dependencies: ["Publish"]
),
.testTarget(
name: "PublishTests",
dependencies: ["Publish", "PublishCLICore"]
)
]
)