forked from twostraws/Sitrep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
29 lines (27 loc) · 1.25 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
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "Sitrep",
platforms: [
.macOS(.v10_12)
],
products: [
.executable(name: "sitrep", targets: ["Sitrep"])
],
dependencies: [
.package(name: "SwiftSyntax", url: "https://github.com/apple/swift-syntax.git", .exact("0.50300.0")),
.package(url: "https://github.com/jpsim/Yams.git", from: "4.0.0"),
.package(url: "https://github.com/apple/swift-argument-parser", from: "0.3.2")
],
targets: [
.target(name: "Sitrep", dependencies: ["SitrepCore",
.product(name: "ArgumentParser",
package: "swift-argument-parser")]),
.target(name: "SitrepCore", dependencies: ["SwiftSyntax",
"Yams",
.product(name: "ArgumentParser",
package: "swift-argument-parser")]),
.testTarget(name: "SitrepCoreTests", dependencies: ["SitrepCore"], exclude: ["Inputs"])
]
)