-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPackage.swift
25 lines (23 loc) · 927 Bytes
/
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
// swift-tools-version:4.0
import PackageDescription
let package = Package(
name: "PactSwiftPMExample",
dependencies: [
.package(url: "https://github.com/Alamofire/Alamofire.git", from: "4.8.2"),
.package(url: "https://github.com/DiUS/pact-consumer-swift", .branch("master"))
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
.target(
name: "PactConsumer",
dependencies: ["PactSwiftPMExample"],
path: "Sources/PactConsumer"),
.target(
name: "PactSwiftPMExample",
dependencies: ["Alamofire"]),
.testTarget(
name: "PactSwiftPMExampleTests",
dependencies: ["PactSwiftPMExample", "PactConsumerSwift"]),
]
)