-
Notifications
You must be signed in to change notification settings - Fork 2
/
Package.swift
25 lines (24 loc) · 947 Bytes
/
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
// swift-tools-version:5.4
import PackageDescription
let package = Package(
name: "MuttonChop",
products: [
.library(name: "MuttonChop", targets: ["MuttonChop"]),
.executable(name: "generate-tests", targets: ["GenerateTests"])
],
dependencies: [],
targets: [
.target(name: "MuttonChop"),
.executableTarget(name: "GenerateTests", dependencies: ["MuttonChop"]),
.testTarget(
name: "MuttonChopTests",
dependencies: ["MuttonChop"],
resources: [
.process("Tests/MuttonChopTests/Fixtures/conversation.mustache"),
.process("Tests/MuttonChopTests/Fixtures/EmptyTemplate.mustache"),
.process("Tests/MuttonChopTests/Fixtures/greeting.mustache"),
.process("Tests/MuttonChopTests/Fixtures/NotATemplate"),
]),
.testTarget(name: "SpecTests", dependencies: ["MuttonChop"])
]
)