-
Notifications
You must be signed in to change notification settings - Fork 63
/
Copy pathPackage.swift
30 lines (27 loc) · 1.24 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
// swift-tools-version:5.8
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
var dependencies: [Target.Dependency] = [
.product(name: "SwiftSyntax", package: "swift-syntax"), .product(name: "SwiftSyntaxParser", package: "swift-syntax"), "Yams", .product(name: "ArgumentParser", package: "swift-argument-parser")
]
let package = Package(
name: "Sitrep",
platforms: [
.macOS(.v10_15)
],
products: [
.library(name: "SitrepCore", targets: ["SitrepCore"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-syntax.git", from: "508.0.0"),
.package(url: "https://github.com/jpsim/Yams.git", from: "5.0.0"),
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.2.0")
],
targets: [
.executableTarget(name: "Sitrep", dependencies: ["SitrepCore",
.product(name: "ArgumentParser",
package: "swift-argument-parser")]),
.target(name: "SitrepCore", dependencies: dependencies),
.testTarget(name: "SitrepCoreTests", dependencies: ["SitrepCore"], exclude: ["Inputs"])
]
)