-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
61 lines (58 loc) · 2.13 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
// swift-tools-version:5.10
import PackageDescription
_ = Package(
name: "Voodoo",
platforms: [
.iOS(.v15),
.macOS(.v12),
],
products: [
.executable(name: "voodoo-server", targets: ["VoodooCLI"]),
.library(name: "Voodoo", targets: ["Voodoo"]),
],
dependencies: [
.package(url: "https://github.com/quick/nimble", .upToNextMajor(from: "13.0.0")),
.package(url: "https://github.com/hummingbird-project/hummingbird", .upToNextMajor(from: "1.0.0")),
.package(url: "https://github.com/hummingbird-project/hummingbird-mustache", .upToNextMajor(from: "1.0.0")),
.package(url: "https://github.com/jectivex/JXKit", .upToNextMajor(from: "3.0.0")),
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.0.0"),
.package(url: "https://github.com/jpsim/Yams", from: "5.0.0"),
.package(url: "https://github.com/Flight-School/AnyCodable", from: "0.6.0"),
.package(url: "https://github.com/GraphQLSwift/GraphQL", from: "2.0.0"),
],
targets: [
.target(
name: "Voodoo",
dependencies: [
.product(name: "Hummingbird", package: "hummingbird"),
.product(name: "HummingbirdFoundation", package: "hummingbird"),
.product(name: "HummingbirdMustache", package: "hummingbird-mustache"),
"JXKit",
"Yams",
"AnyCodable",
"GraphQL",
],
path: "Sources"
),
.executableTarget(
name: "VoodooCLI",
dependencies: [
.target(name: "Voodoo"),
.product(name: "ArgumentParser", package: "swift-argument-parser"),
],
path: "cmd"
),
.testTarget(
name: "VoodooTests",
dependencies: [
"Voodoo",
.product(name: "Hummingbird", package: "hummingbird"),
.product(name: "Nimble", package: "nimble"),
],
path: "Tests",
resources: [
.copy("files"),
]
),
]
)