-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathPackage.swift
More file actions
38 lines (36 loc) · 945 Bytes
/
Package.swift
File metadata and controls
38 lines (36 loc) · 945 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
27
28
29
30
31
32
33
34
35
36
37
38
// swift-tools-version: 6.0
import PackageDescription
let package = Package(
name: "swift-math-parser",
platforms: [
.iOS(.v13),
.macOS(.v10_15),
.tvOS(.v13),
.watchOS(.v6),
],
products: [
.library(
name: "MathParser",
targets: ["MathParser"]
)
],
dependencies: [
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
.package(url: "https://github.com/pointfreeco/swift-parsing", from: "0.12.0")
],
targets: [
.target(
name: "MathParser",
dependencies: [.product(name: "Parsing", package: "swift-parsing")],
swiftSettings: [
.enableUpcomingFeature("InternalImportsByDefault"),
.enableUpcomingFeature("MemberImportVisibility")
]
),
.testTarget(
name: "MathParserTests",
dependencies: [.product(name: "Parsing", package: "swift-parsing"), "MathParser"]
)
],
swiftLanguageModes: [.v6, .v5]
)