forked from XcodesOrg/xcodes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
58 lines (57 loc) · 2.15 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
// 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/nsomar/Guaka.git", .upToNextMinor(from: "0.4.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")),
],
targets: [
.target(
name: "xcodes",
dependencies: [
"Guaka", "XcodesKit"
]),
.testTarget(
name: "xcodesTests",
dependencies: ["xcodes"]),
.target(
name: "XcodesKit",
dependencies: [
"AppleAPI", .product(name: "Path", package: "Path.swift"), "Version", "PromiseKit", "PMKFoundation", "SwiftSoup", "LegibleError", "KeychainAccess"
]),
.testTarget(
name: "XcodesKitTests",
dependencies: [
"XcodesKit", "Version"
],
resources: [
.copy("Fixtures"),
]),
.target(
name: "AppleAPI",
dependencies: [
"PromiseKit", "PMKFoundation"
]),
.testTarget(
name: "AppleAPITests",
dependencies: ["AppleAPI"],
resources: [
.copy("Fixtures"),
]),
]
)