-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
55 lines (53 loc) · 2.04 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
// swift-tools-version: 5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.
//
// tuist-plugin-outdated
// Copyright (c) Marius Felkner 2024
// Licensed under the MIT license. See LICENSE file.
//
import PackageDescription
let package = Package(
name: "tuist-outdated",
platforms: [.macOS(.v11)],
products: [
.executable(
name: "tuist-outdated",
targets: ["TuistPluginOutdated"]
),
],
dependencies: [
.package(url: "https://github.com/tuist/ProjectAutomation", branch: "main"),
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.3.0"),
.package(url: "https://github.com/johnsundell/files.git", exact: "4.2.0"),
.package(url: "https://github.com/johnsundell/shellout.git", exact: "2.3.0"),
.package(url: "https://github.com/scottrhoyt/swiftytexttable.git", exact: "0.9.0" ),
.package(url: "https://github.com/mflknr/swift-version-compare.git", exact: "2.0.0"),
],
targets: [
.executableTarget(
name: "TuistPluginOutdated",
dependencies: [
"TuistPluginOutdatedFramework",
.product(name: "ArgumentParser", package: "swift-argument-parser"),
]
),
.target(
name: "TuistPluginOutdatedFramework",
dependencies: [
.product(name: "ProjectAutomation", package: "ProjectAutomation"),
.product(name: "Files", package: "Files"),
.product(name: "ShellOut", package: "ShellOut"),
.product(name: "VersionCompare", package: "swift-version-compare"),
.product(name: "SwiftyTextTable", package: "SwiftyTextTable"),
]
),
.testTarget(
name: "TuistPluginOutdatedTests",
dependencies: ["TuistPluginOutdated"]
),
.testTarget(
name: "TuistPluginOutdatedFrameworkTests",
dependencies: ["TuistPluginOutdatedFramework"]
),
]
)