-
Notifications
You must be signed in to change notification settings - Fork 6
/
Package.swift
38 lines (35 loc) · 1.26 KB
/
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
27
28
29
30
31
32
33
34
35
36
37
38
// swift-tools-version:5.2
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
import Foundation
let name = URL(fileURLWithPath: #filePath)
.deletingLastPathComponent().lastPathComponent
let package = Package(
name: name,
products: [
.library(
name: name,
targets: [name]),
],
dependencies: [
.package(url: "https://github.com/johnno1962/StringIndex",
.upToNextMajor(from: "2.0.1")),
.package(url: "https://github.com/johnno1962/SwiftRegex5.git",
.upToNextMajor(from: "6.0.1")),
.package(url: "https://github.com/johnno1962/Popen.git",
.upToNextMajor(from: "2.1.1")),
.package(url: "https://github.com/johnno1962/DLKit",
.upToNextMajor(from: "3.2.3")),
],
targets: [
.target(
name: name,
dependencies: ["StringIndex", "DLKit", "Popen",
.product(name: "DLKitC", package: "DLKit"),
.product(name: "SwiftRegex", package: "SwiftRegex5")],
path: "Sources/"),
.testTarget(
name: "FortifyTests",
dependencies: ["Fortify"]),
]
)