2023-11-24 20:18:37 +00:00
|
|
|
// swift-tools-version: 5.9
|
|
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
|
|
|
|
import PackageDescription
|
|
|
|
|
|
|
|
let package = Package(
|
|
|
|
name: "HTMLStreamer",
|
2023-11-25 02:59:30 +00:00
|
|
|
platforms: [
|
|
|
|
.iOS(.v13),
|
|
|
|
.macOS(.v10_15),
|
2024-01-26 16:10:24 +00:00
|
|
|
.visionOS(.v1),
|
2023-11-25 02:59:30 +00:00
|
|
|
],
|
2023-11-24 20:18:37 +00:00
|
|
|
products: [
|
|
|
|
// Products define the executables and libraries a package produces, making them visible to other packages.
|
|
|
|
.library(
|
|
|
|
name: "HTMLStreamer",
|
|
|
|
targets: ["HTMLStreamer"]),
|
|
|
|
],
|
|
|
|
targets: [
|
|
|
|
// Targets are the basic building blocks of a package, defining a module or a test suite.
|
|
|
|
// Targets can depend on other targets in this package and products from dependencies.
|
|
|
|
.target(
|
|
|
|
name: "HTMLStreamer"),
|
|
|
|
.testTarget(
|
|
|
|
name: "HTMLStreamerTests",
|
|
|
|
dependencies: ["HTMLStreamer"]),
|
|
|
|
]
|
|
|
|
)
|