-
-
Notifications
You must be signed in to change notification settings - Fork 40
/
Package.swift
37 lines (36 loc) · 1.41 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
// swift-tools-version:5.3
import PackageDescription
import Foundation
let package = Package(
name: "SourceDocs",
platforms: [
.macOS(.v10_15)
],
products: [
.executable(name: "sourcedocs", targets: ["SourceDocsCLI"]),
.library(name: "SourceDocsLib", targets: ["SourceDocsLib"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.0.0"),
.package(url: "https://github.com/jpsim/SourceKitten.git", from: "0.29.0"),
.package(url: "https://github.com/eneko/MarkdownGenerator.git", from: "0.4.0"),
.package(url: "https://github.com/onevcat/Rainbow", from: "3.0.0"),
.package(url: "https://github.com/eneko/ProcessRunner.git", from: "1.1.0")
],
targets: [
.target(name: "SourceDocsCLI", dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser"),
"SourceDocsLib",
"Rainbow"
]),
.target(name: "SourceDocsLib", dependencies: [
.product(name: "SourceKittenFramework", package: "SourceKitten"),
"MarkdownGenerator",
"Rainbow",
"ProcessRunner"
]),
.target(name: "SourceDocsDemo", dependencies: []),
.testTarget(name: "SourceDocsCLITests", dependencies: ["ProcessRunner"]),
.testTarget(name: "SourceDocsLibTests", dependencies: ["SourceDocsLib"])
]
)