-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
26 lines (25 loc) · 900 Bytes
/
Package.swift
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:5.3
import PackageDescription
let package = Package(
name: "swal-rawhtml",
products: [
.executable(name: "swal-rawhtml", targets: ["swal-rawhtml"])
],
dependencies: [
.package(name: "JavaScriptKit", url: "https://github.com/swiftwasm/JavaScriptKit", from: "0.8.0"),
.package(url: "https://github.com/apple/swift-algorithms", from: "0.0.1"),
.package(url: "https://github.com/johngarrett/HyperSwift", .branch("master"))
],
targets: [
.target(
name: "swal-rawhtml",
dependencies: [
.product(name: "Algorithms", package: "swift-algorithms"),
.product(name: "JavaScriptKit", package: "JavaScriptKit"),
"HyperSwift"
]),
.testTarget(
name: "swal-rawhtmlTests",
dependencies: ["swal-rawhtml"]),
]
)