-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPackage.swift
More file actions
26 lines (25 loc) · 946 Bytes
/
Copy pathPackage.swift
File metadata and controls
26 lines (25 loc) · 946 Bytes
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
// swift-tools-version: 6.0
import PackageDescription
// Standalone engine for the Fabric Math Expression node: no package dependencies and no
// Fabric / Metal / Satin, so `swift test` runs the whole correctness suite with
// no GPU or app. Transforms/quaternions use Apple `simd` at the port boundary, so
// it targets Apple platforms (macOS/iOS/visionOS).
let package = Package(
name: "MathExpressionEngine",
products: [
.library(name: "MathExpressionEngine", targets: ["MathExpressionEngine"]),
],
dependencies: [
.package(url: "https://github.com/bradhowes/swift-math-parser", exact: "3.7.3"),
],
targets: [
.target(name: "MathExpressionEngine"),
.testTarget(
name: "MathExpressionEngineTests",
dependencies: [
"MathExpressionEngine",
.product(name: "MathParser", package: "swift-math-parser"),
]
),
]
)