-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPackage.swift
32 lines (31 loc) · 1015 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
27
28
29
30
31
32
// swift-tools-version:5.5
import PackageDescription
let package = Package(
name: "scrape",
platforms: [.macOS(.v10_12)],
products: [
.library(
name:"scrapeLib",
type:.dynamic,
targets: ["scrapeLib"]
),
.executable(
name: "scrape",
targets: ["scrape"]
)
],
dependencies: [
.package(url: "https://github.com/fcanas/HLSCore.git", from: "0.2.1"),
.package(url: "https://github.com/fcanas/FFCLog.git", from:"0.1.0"),
.package(url: "https://github.com/apple/swift-argument-parser", .upToNextMinor(from: "0.4.3")),
],
targets: [
.executableTarget(name: "scrape", dependencies: [
"scrapeLib",
"FFCLog",
.product(name: "ArgumentParser", package: "swift-argument-parser")
]),
.target(name: "scrapeLib", dependencies: ["HLSCore", "FFCLog"]),
.testTarget(name: "scrapeTests", dependencies: ["scrapeLib"])
]
)