-
Notifications
You must be signed in to change notification settings - Fork 32
/
Package.swift
41 lines (39 loc) · 1.41 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
// swift-tools-version:5.0
import PackageDescription
let package = Package(
name: "Accio",
platforms: [.macOS(.v10_12)],
products: [
.executable(name: "accio", targets: ["Accio"]),
.library(name: "AccioKit", type: .dynamic, targets: ["AccioKit"])
],
dependencies: [
.package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", .upToNextMajor(from: "1.0.0")),
.package(url: "https://github.com/Flinesoft/HandySwift.git", .upToNextMajor(from: "3.0.0")),
.package(url: "https://github.com/onevcat/Rainbow.git", .upToNextMajor(from: "3.1.4")),
.package(url: "https://github.com/jakeheis/SwiftCLI.git", .upToNextMajor(from: "5.2.2")),
.package(url: "https://github.com/kareman/SwiftShell.git", .upToNextMajor(from: "5.1.0")),
.package(url: "https://github.com/tuist/xcodeproj.git", .upToNextMajor(from: "7.0.0")),
],
targets: [
.target(
name: "Accio",
dependencies: ["AccioKit"]
),
.target(
name: "AccioKit",
dependencies: [
"CryptoSwift",
"HandySwift",
"Rainbow",
"SwiftCLI",
"SwiftShell",
"XcodeProj",
]
),
.testTarget(
name: "AccioKitTests",
dependencies: ["CryptoSwift", "AccioKit", "HandySwift", "XcodeProj"]
)
]
)