36 lines
763 B
Swift
Executable File
36 lines
763 B
Swift
Executable File
// swift-tools-version: 6.0
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "swiftui-math",
|
|
platforms: [
|
|
.macOS(.v14),
|
|
.iOS(.v17),
|
|
.tvOS(.v17),
|
|
.watchOS(.v10),
|
|
.visionOS(.v1),
|
|
],
|
|
products: [
|
|
.library(name: "SwiftUIMath", targets: ["SwiftUIMath"])
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/pointfreeco/swift-snapshot-testing", from: "1.18.7")
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "SwiftUIMath",
|
|
dependencies: [],
|
|
resources: [.copy("mathFonts.bundle")]
|
|
),
|
|
.testTarget(
|
|
name: "SwiftUIMathTests",
|
|
dependencies: [
|
|
"SwiftUIMath",
|
|
.product(name: "SnapshotTesting", package: "swift-snapshot-testing"),
|
|
],
|
|
exclude: ["__Snapshots__"]
|
|
),
|
|
]
|
|
)
|