mirror of
https://github.com/apple/swift-async-algorithms
synced 2026-11-30 04:58:44 +00:00
* Rework marble diagrams to account for task execution * Add marble diagram tests to validate failure paths * Test for space no-op in marable diagram DSL * Factor out parsing into events and generalize
38 lines
1.0 KiB
Swift
38 lines
1.0 KiB
Swift
// swift-tools-version: 5.6
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "AsyncAlgorithms",
|
|
platforms: [
|
|
.macOS("10.15"),
|
|
.iOS("13.0"),
|
|
.tvOS("13.0"),
|
|
.watchOS("6.0")
|
|
],
|
|
products: [
|
|
.library(
|
|
name: "AsyncAlgorithms",
|
|
targets: ["AsyncAlgorithms"]),
|
|
.library(name: "ClockStub", type: .static, targets: ["ClockStub"]),
|
|
.library(name: "MarbleDiagram", targets: ["MarbleDiagram"]),
|
|
.library(name: "CMarbleDiagram", type: .static, targets: ["CMarbleDiagram"])
|
|
],
|
|
dependencies: [],
|
|
targets: [
|
|
.target(
|
|
name: "AsyncAlgorithms",
|
|
dependencies: ["ClockStub"]),
|
|
.target(name: "ClockStub"),
|
|
.target(name: "MarbleDiagram", dependencies: ["CMarbleDiagram"]),
|
|
.target(name: "CMarbleDiagram",
|
|
publicHeadersPath: "Headers",
|
|
cxxSettings: [
|
|
.unsafeFlags(["-std=c++11"])
|
|
]),
|
|
.testTarget(
|
|
name: "AsyncAlgorithmsTests",
|
|
dependencies: ["AsyncAlgorithms", "MarbleDiagram"]),
|
|
]
|
|
)
|