-
Notifications
You must be signed in to change notification settings - Fork 8
/
Package.swift
24 lines (23 loc) · 1.05 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
// swift-tools-version:5.6
import PackageDescription
let package = Package(
name: "iOS-BLE-Library",
platforms: [
.iOS(.v13),
.macOS(.v10_15)
],
products: [
.library(name: "iOS-BLE-Library", targets: ["iOS-BLE-Library"]),
.library(name: "iOS-BLE-Library-Mock", targets: ["iOS-BLE-Library-Mock"]),
],
dependencies: [
.package(url: "https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git", from: "0.17.0"),
.package(url: "https://github.com/NickKibish/CoreBluetoothMock-Collection.git", from: "1.0.0"),
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
],
targets: [
.target(name: "iOS-BLE-Library"),
.target(name: "iOS-BLE-Library-Mock", dependencies: ["iOS-BLE-Library", .product(name: "CoreBluetoothMock", package: "IOS-CoreBluetooth-Mock")]),
.testTarget(name: "iOS-BLE-LibraryTests", dependencies: ["iOS-BLE-Library-Mock", .product(name: "CoreBluetoothMock-Collection", package: "CoreBluetoothMock-Collection")]),
]
)