-
Notifications
You must be signed in to change notification settings - Fork 5
/
Package.swift
30 lines (29 loc) · 1.05 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.3
import PackageDescription
let package = Package(
name: "Pouch",
platforms: [.macOS(.v10_11)],
products: [
.executable(name: "pouch", targets: ["Pouch"]),
.library(name: "PouchFramework", targets: ["PouchFramework"])
],
dependencies: [
.package(name: "swift-argument-parser", url: "https://github.com/apple/swift-argument-parser", .exact("0.3.2")),
.package(name: "Yams", url: "https://github.com/jpsim/Yams", .exact("4.0.4")),
],
targets: [
.target(
name: "Pouch",
dependencies: [
.target(name: "PouchFramework"),
.product(name: "ArgumentParser", package: "swift-argument-parser"),
.product(name: "Yams", package: "Yams")
]),
.target(
name: "PouchFramework",
dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser"),
]),
.testTarget(name: "PouchTests", dependencies: ["PouchFramework", "Yams"]),
]
)