-
Notifications
You must be signed in to change notification settings - Fork 120
/
Copy pathPackage.swift
47 lines (46 loc) · 1.44 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
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "OCMockito",
platforms: [
.macOS(.v10_13),
.iOS(.v9),
.tvOS(.v12),
.watchOS(.v2)
],
products: [
.library(name: "OCMockito", targets: ["OCMockito"]),
],
dependencies: [
.package(
url: "https://github.com/hamcrest/OCHamcrest",
.upToNextMajor(from: "9.1.1")
),
],
targets: [
.target(
name: "OCMockito",
dependencies: ["OCHamcrest"],
cSettings: [
.headerSearchPath("./Core"),
.headerSearchPath("./Helpers/ArgumentGetters"),
.headerSearchPath("./Helpers/ReturnValueSetters"),
.headerSearchPath("./Invocation"),
.headerSearchPath("./Mocking"),
.headerSearchPath("./Stubbing"),
.headerSearchPath("./Verifying")
]
),
.testTarget(
name: "OCMockitoTests",
dependencies: ["OCMockito","OCHamcrest"],
cSettings: [
.headerSearchPath("./"),
.headerSearchPath("../../Sources/OCMockito/Core"),
.headerSearchPath("../../Sources/OCMockito/Invocation"),
.headerSearchPath("../../Sources/OCMockito/Stubbing"),
.headerSearchPath("../../Sources/OCMockito/Verifying")
]
)
]
)