forked from mono0926/LicensePlist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
52 lines (50 loc) · 1.72 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "LicensePlist",
products: [
.executable(name: "license-plist", targets: ["LicensePlist"]),
.library(name: "LicensePlistCore", targets: ["LicensePlistCore"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser.git",
from: "1.1.4"),
.package(url: "https://github.com/ishkawa/APIKit.git",
from: "5.3.0"),
.package(url: "https://github.com/Kitura/HeliumLogger.git",
from: "2.0.0"),
.package(url: "https://github.com/behrang/YamlSwift.git",
from: "3.4.4"),
.package(url: "https://github.com/Kitura/swift-html-entities.git",
from: "4.0.1"),
.package(url: "https://github.com/YusukeHosonuma/SwiftParamTest",
.upToNextMajor(from: "2.0.0")),
],
targets: [
.target(
name: "LicensePlist",
dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser"),
"LicensePlistCore",
"HeliumLogger",
]
),
.target(
name: "LicensePlistCore",
dependencies: [
"APIKit",
"HeliumLogger",
.product(name: "HTMLEntities", package: "swift-html-entities"),
.product(name: "Yaml", package: "YamlSwift")
]
),
.testTarget(
name: "LicensePlistTests",
dependencies: ["LicensePlistCore", "SwiftParamTest"],
exclude: [
"Resources",
"XcodeProjects",
]
),
]
)