forked from SwiftBlocksUI/SwiftBlocksUI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
62 lines (52 loc) · 2.14 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
// swift-tools-version:5.5
import PackageDescription
let package = Package(
name: "SwiftBlocksUI",
platforms: [
.macOS(.v10_15), .iOS(.v13)
],
products: [
.library(name: "SlackBlocksModel", targets: [ "SlackBlocksModel" ]),
.library(name: "SlackClient", targets: [ "SlackClient" ]),
.library(name: "Blocks", targets: [ "Blocks" ]),
.library(name: "BlocksExpress", targets: [ "BlocksExpress" ]),
.library(name: "SwiftBlocksUI", targets: [ "SwiftBlocksUI" ]),
],
dependencies: [
.package(url: "https://github.com/Macro-swift/Macro.git",
from: "1.0.0"),
.package(url: "https://github.com/Macro-swift/MacroExpress.git",
from: "1.0.0"),
.package(url: "https://github.com/Macro-swift/MacroApp.git",
from: "0.6.0"),
.package(url: "https://github.com/wickwirew/Runtime.git",
from: "2.2.2"),
.package(url: "https://github.com/apple/swift-log.git",
from: "1.4.2"),
.package(url: "https://github.com/apple/swift-crypto.git",
from: "2.0.0")
],
targets: [
.target(name: "SlackBlocksModel",
exclude: [ "README.md", "Elements/README.md" ]),
.target(name: "SlackClient", dependencies: [ "SlackBlocksModel", "Macro" ],
exclude: [ "README.md" ]),
.target(name: "Blocks", dependencies: [
"SlackBlocksModel", "Runtime",
.product(name: "Crypto", package: "swift-crypto"),
.product(name: "Logging", package: "swift-log")
], exclude: [ "README.md", "Rendering/README.md", "Blocks/README.md" ]),
.target(name : "BlocksExpress",
dependencies : [ "Blocks", "MacroExpress" ],
exclude : [ "README.md" ]),
.target(name: "SwiftBlocksUI", dependencies: [
"SlackBlocksModel", "SlackClient",
"Blocks", "BlocksExpress",
"Macro", "Runtime", "MacroExpress", "MacroApp"
], exclude: [ "README.md", "EndpointActionResponse/README.md" ]),
.testTarget(name: "SwiftBlocksUITests", dependencies: [
"SwiftBlocksUI",
.product(name: "MacroTestUtilities", package: "Macro")
])
]
)