-
Notifications
You must be signed in to change notification settings - Fork 28
/
Package.swift
35 lines (33 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
31
32
33
34
35
// swift-tools-version:4.2
import PackageDescription
let package = Package(
name: "SwiftRewriter",
products: [
.library(
name: "SwiftRewriter",
targets: ["SwiftRewriter"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-syntax.git", .exact("0.50100.0")),
.package(url: "https://github.com/inamiy/FunOptics", from: "1.0.0"),
.package(url: "https://github.com/Carthage/Commandant.git", from: "0.17.0"),
.package(url: "https://github.com/thoughtbot/Curry.git", from: "4.0.2"),
.package(url: "https://github.com/JohnSundell/Files.git", from: "2.2.1"),
.package(url: "https://github.com/pointfreeco/swift-snapshot-testing", from: "1.0.0")
],
targets: [
.target(
name: "swift-rewriter",
dependencies: ["SwiftRewriter", "Commandant", "Curry", "Files"]),
.target(
name: "SwiftRewriter",
dependencies: ["SwiftSyntax", "FunOptics"]),
.testTarget(
name: "SwiftRewriterTests",
dependencies: ["SwiftRewriter", "SnapshotTesting"],
exclude: [
"Combined/__TestSources__",
"Combined/__Snapshots__"
]),
]
)