-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathPackage.swift
86 lines (81 loc) · 2.31 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
// swift-tools-version:5.2
// swiftlint:disable all
import PackageDescription
let package = Package(
name: "Mixbox",
platforms: [.macOS(.v10_15)],
products: [
.library(
name: "MixboxMocksGeneration",
targets: [
"MixboxMocksGeneration"
]
),
.library(
name: "MixboxDi",
targets: [
"MixboxDi"
]
),
.library(
name: "MixboxBuiltinDi",
targets: [
"MixboxBuiltinDi"
]
),
.executable(
name: "MixboxMocksGenerator",
targets: [
"MixboxMocksGenerator"
]
)
],
dependencies: [
.package(url: "https://github.com/jpsim/SourceKitten.git", .exact("0.30.1")),
.package(url: "https://github.com/kylef/PathKit.git", .branch("master")),
.package(url: "https://github.com/avito-tech/Sourcery.git", .revision("0564feccdc8fade6c68376bdf7f8dab9b79863fe")),
],
targets: [
.target(
// MARK: MixboxBuiltinDi
name: "MixboxBuiltinDi",
dependencies: [
"MixboxDi"
],
path: "Frameworks/BuiltinDi/Sources",
swiftSettings: [
.define("MIXBOX_ENABLE_ALL_FRAMEWORKS")
]
),
.target(
// MARK: MixboxDi
name: "MixboxDi",
dependencies: [
],
path: "Frameworks/Di/Sources",
swiftSettings: [
.define("MIXBOX_ENABLE_ALL_FRAMEWORKS")
]
),
.target(
// MARK: MixboxMocksGeneration
name: "MixboxMocksGeneration",
dependencies: [
"PathKit",
.product(name: "SourceryFramework", package: "Sourcery"),
.product(name: "SourceryRuntime", package: "Sourcery")
],
path: "Frameworks/MocksGeneration/Sources"
),
.target(
// MARK: MixboxMocksGenerator
name: "MixboxMocksGenerator",
dependencies: [
"MixboxMocksGeneration",
"PathKit"
],
path: "MocksGenerator/Sources"
)
]
)
// swiftlint:enable all