-
Notifications
You must be signed in to change notification settings - Fork 7
/
Package.swift
60 lines (58 loc) · 1.75 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
// swift-tools-version:4.1
import PackageDescription
let package = Package(
name: "SwiftZulipAPI",
products: [
Product.library(name: "SwiftZulipAPI", targets: ["SwiftZulipAPI"]),
Product.library(
name: "SwiftZulipAPIBots",
targets: ["SwiftZulipAPIBots"]
),
Product.executable(
name: "SwiftZulipAPIExample",
targets: ["SwiftZulipAPIExample"]
),
Product.executable(
name: "SwiftZulipAPIBotRunner",
targets: ["SwiftZulipAPIBotRunner"]
),
],
dependencies: [
Package.Dependency.package(
url: "https://github.com/Alamofire/Alamofire.git",
from: "4.0.0"
),
],
targets: [
Target.target(
name: "SwiftZulipAPI",
dependencies: ["Alamofire"],
path: "sources/SwiftZulipAPI"
),
Target.testTarget(
name: "SwiftZulipAPITests",
dependencies: ["SwiftZulipAPI"],
path: "tests/SwiftZulipAPITests"
),
Target.target(
name: "SwiftZulipAPIExample",
dependencies: ["SwiftZulipAPI"],
path: "example/SwiftZulipAPIExample"
),
Target.target(
name: "SwiftZulipAPIBots",
dependencies: ["SwiftZulipAPI"],
path: "bots/sources/SwiftZulipAPIBots"
),
Target.target(
name: "SwiftZulipAPIBotRunner",
dependencies: ["SwiftZulipAPIBots"],
path: "bots/runner/SwiftZulipAPIBotRunner"
),
Target.testTarget(
name: "SwiftZulipAPIBotTests",
dependencies: ["SwiftZulipAPIBots"],
path: "bots/tests/SwiftZulipAPIBotTests"
),
]
)