-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
36 lines (32 loc) · 1.54 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
// swift-tools-version:4.0
import PackageDescription
var dependencies: [Package.Dependency] = [
.package(url: "https://github.com/IBM-Swift/BlueSignals.git", .upToNextMajor(from: "0.9.50")),
.package(url: "https://github.com/Ponyboy47/CLI.git", .upToNextMinor(from: "2.3.0")),
.package(url: "https://github.com/Ponyboy47/Cron-Swift.git", .upToNextMajor(from: "2.2.0")),
.package(url: "https://github.com/Ponyboy47/Downpour.git", .upToNextMinor(from: "0.6.1")),
.package(url: "https://github.com/Ponyboy47/PathKit.git", .upToNextMajor(from: "0.10.0")),
.package(url: "https://github.com/kareman/SwiftShell.git", .upToNextMinor(from: "4.1.0")),
.package(url: "https://github.com/SwiftyBeaver/SwiftyBeaver.git", .upToNextMinor(from: "1.4.0")),
.package(url: "https://github.com/Ponyboy47/LockSmith.git", .upToNextMinor(from: "0.3.0")),
.package(url: "https://github.com/Ponyboy47/TaskKit.git", .upToNextMinor(from: "0.4.7"))
]
var namedDependencies: [Target.Dependency] = ["Signals", "CLI", "Cron", "Downpour", "PathKit", "SwiftShell", "SwiftyBeaver", "LockSmith", "TaskKit"]
#if os(Linux)
dependencies.append(.package(url: "https://github.com/Ponyboy47/inotify.git", .upToNextMinor(from: "0.5.0")))
namedDependencies.append("Inotify")
#endif
let package = Package(
name: "Plex-Monitr",
products: [
.executable(
name: "monitr",
targets: ["monitr"])
],
dependencies: dependencies,
targets: [
.target(
name: "monitr",
dependencies: namedDependencies)
]
)