-
Notifications
You must be signed in to change notification settings - Fork 117
/
Package.swift
49 lines (48 loc) · 1.46 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
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "OCMockito",
platforms: [
.macOS(.v10_10),
.iOS(.v9),
.tvOS(.v12),
.watchOS(.v2)
],
products: [
.library(name: "OCMockito", targets: ["OCMockito"]),
],
dependencies: [
.package(
url: "https://github.com/hamcrest/OCHamcrest",
.upToNextMajor(from: "9.0.0")
),
],
targets: [
.target(
name: "OCMockito",
dependencies: ["OCHamcrest"],
path: "Source",
exclude: [
"Tests",
"MakeDistribution.sh",
"makeXCFramework.sh",
"OCMockito-Info.plist",
"Tests-Info.plist",
"XcodeWarnings.xcconfig",
],
sources: [
"OCMockito",
],
publicHeadersPath: "include",
cSettings: [
CSetting.headerSearchPath("OCMockito/Core"),
CSetting.headerSearchPath("OCMockito/Helpers/ArgumentGetters"),
CSetting.headerSearchPath("OCMockito/Helpers/ReturnValueSetters"),
CSetting.headerSearchPath("OCMockito/Invocation"),
CSetting.headerSearchPath("OCMockito/Mocking"),
CSetting.headerSearchPath("OCMockito/Stubbing"),
CSetting.headerSearchPath("OCMockito/Verifying"),
]
),
]
)