-
Notifications
You must be signed in to change notification settings - Fork 106
/
Package.swift
34 lines (30 loc) · 1.13 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
// swift-tools-version:5.5
import PackageDescription
let package = Package(
name: "mcap",
platforms: [.macOS(.v10_15), .iOS(.v13)], // for async/await
products: [
.library(name: "MCAP", targets: ["MCAP"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
.package(url: "https://github.com/apple/swift-algorithms", from: "1.0.0"),
// Use pre-release version for Heap
.package(url: "https://github.com/apple/swift-collections", revision: "53a8adc54374f620002a3b6401d39e0feb3c57ae"),
],
targets: [
.target(
name: "MCAP",
dependencies: [
"CRC",
.product(name: "HeapModule", package: "swift-collections"),
.product(name: "Algorithms", package: "swift-algorithms"),
],
path: "swift/mcap"
),
.testTarget(name: "unit-tests", dependencies: ["MCAP"], path: "swift/test"),
.executableTarget(name: "conformance", dependencies: ["MCAP"], path: "swift/conformance"),
.target(name: "CRC", dependencies: [], path: "swift/crc"),
.testTarget(name: "crc-tests", dependencies: ["CRC"], path: "swift/crc-tests"),
]
)