-
Notifications
You must be signed in to change notification settings - Fork 6
/
Package.swift
45 lines (41 loc) · 1.59 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
38
39
40
41
42
43
44
45
// swift-tools-version:5.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "Capriccio",
products: [
.executable(
name: "capriccio",
targets: ["Capriccio"])
],
dependencies: [
.package(url: "https://github.com/iainsmith/SwiftGherkin", .exact("0.2.0")),
.package(url: "https://github.com/stencilproject/Stencil", .exact("0.13.1")),
.package(url: "https://github.com/apple/swift-argument-parser", .exact("0.1.0")),
.package(url: "https://github.com/jpsim/Yams.git", from: "2.0.0"),
.package(url: "https://github.com/Quick/Nimble", from: "8.0.0"), // dev
.package(url: "https://github.com/f-meloni/TestSpy", from: "0.4.0"), // dev
.package(url: "https://github.com/shibapm/Rocket", from: "0.9.0"), // dev
.package(url: "https://github.com/pointfreeco/swift-snapshot-testing", from: "1.5.0") // dev
],
targets: [
.target(
name: "CapriccioLib",
dependencies: ["Gherkin", "Stencil"]),
.target(
name: "Capriccio",
dependencies: ["CapriccioLib", "ArgumentParser", "Yams"]),
.testTarget(name: "CapriccioLibTests",dependencies: ["CapriccioLib", "Nimble", "TestSpy", "SnapshotTesting"]) // dev
],
swiftLanguageVersions: [.v5]
)
#if canImport(PackageConfig)
import PackageConfig
let config = PackageConfiguration([
"rocket": [
"before": [
"scripts/update_version.sh"
],
],
]).write()
#endif