-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
43 lines (41 loc) · 1.08 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
// swift-tools-version: 5.9
import PackageDescription
let package = Package(
name: "SwiftSomeAnyMigrator",
platforms: [
.macOS(.v10_15)
],
dependencies: [
.package(
url: "https://github.com/apple/swift-argument-parser",
from: "1.2.3"
),
.package(
url: "https://github.com/apple/swift-syntax.git",
from: "509.1.0"
),
],
targets: [
.executableTarget(
name: "CommandLineTool",
dependencies: ["SwiftSomeAnyMigrator"],
path: "Sources/CommandLineTool"
),
.target(
name: "SwiftSomeAnyMigrator",
dependencies: [
.product(name: "SwiftSyntax", package: "swift-syntax"),
.product(name: "SwiftOperators", package: "swift-syntax"),
.product(name: "SwiftParser", package: "swift-syntax"),
.product(name: "ArgumentParser", package: "swift-argument-parser"),
],
path: "Sources/Command"
),
.testTarget(
name: "SwiftSomeAnyMigratorTests",
dependencies: [
"SwiftSomeAnyMigrator"
]
),
]
)