forked from XcodesOrg/xcodes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
84 lines (83 loc) · 3.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "xcodes",
platforms: [
.macOS(.v10_13)
],
products: [
.executable(name: "xcodes", targets: ["xcodes"]),
.library(name: "XcodesKit", targets: ["XcodesKit"]),
.library(name: "AppleAPI", targets: ["AppleAPI"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser", .upToNextMinor(from: "0.3.0")),
.package(url: "https://github.com/mxcl/Path.swift.git", .upToNextMinor(from: "0.16.0")),
.package(url: "https://github.com/mxcl/Version.git", .upToNextMinor(from: "1.0.3")),
.package(url: "https://github.com/mxcl/PromiseKit.git", .upToNextMinor(from: "6.8.3")),
.package(name: "PMKFoundation", url: "https://github.com/PromiseKit/Foundation.git", .upToNextMinor(from: "3.3.1")),
.package(url: "https://github.com/scinfu/SwiftSoup.git", .upToNextMinor(from: "2.0.0")),
.package(url: "https://github.com/mxcl/LegibleError.git", .upToNextMinor(from: "1.0.1")),
.package(url: "https://github.com/kishikawakatsumi/KeychainAccess.git", .upToNextMinor(from: "3.2.0")),
.package(name: "XcodeReleases", url: "https://github.com/xcodereleases/data", .revision("b47228c688b608e34b3b84079ab6052a24c7a981")),
.package(url: "https://github.com/onevcat/Rainbow.git", .upToNextMinor(from: "3.2.0")),
.package(url: "https://github.com/JohnSundell/ShellOut.git", from: "2.3.0"),
],
targets: [
.target(
name: "xcodes",
dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser"),
"XcodesKit",
]),
.testTarget(
name: "xcodesTests",
dependencies: [
"xcodes"
]),
.target(
name: "XcodesKit",
dependencies: [
"AppleAPI",
"KeychainAccess",
"LegibleError",
.product(name: "Path", package: "Path.swift"),
"PromiseKit",
"PMKFoundation",
"SwiftSoup",
"Unxip",
"Version",
.product(name: "XCModel", package: "XcodeReleases"),
"Rainbow",
"ShellOut",
],
resources: [
.copy("Resources")
]),
.testTarget(
name: "XcodesKitTests",
dependencies: [
"XcodesKit",
"Version"
],
resources: [
.copy("Fixtures"),
]),
.target(name: "Unxip"),
.target(
name: "AppleAPI",
dependencies: [
"PromiseKit",
"PMKFoundation",
"Rainbow",
]),
.testTarget(
name: "AppleAPITests",
dependencies: [
"AppleAPI"
],
resources: [
.copy("Fixtures"),
]),
]
)