-
Notifications
You must be signed in to change notification settings - Fork 87
/
Package.swift
41 lines (40 loc) · 1.31 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
// swift-tools-version:5.7
import PackageDescription
let package = Package(
name: "Mockolo",
platforms: [
.macOS(.v12),
],
products: [
.executable(name: "mockolo", targets: ["Mockolo"]),
.library(name: "MockoloFramework", targets: ["MockoloFramework"]),
],
dependencies: [
.package(url: "https://github.com/swiftlang/swift-syntax.git", from: "600.0.1"),
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.5.0"),
.package(url: "https://github.com/apple/swift-algorithms.git", from: "1.2.0"),
],
targets: [
.executableTarget(
name: "Mockolo",
dependencies: [
"MockoloFramework",
.product(name: "ArgumentParser", package: "swift-argument-parser"),
]),
.target(
name: "MockoloFramework",
dependencies: [
.product(name: "SwiftSyntax", package: "swift-syntax"),
.product(name: "SwiftParser", package: "swift-syntax"),
.product(name: "Algorithms", package: "swift-algorithms"),
]
),
.testTarget(
name: "MockoloTests",
dependencies: [
"MockoloFramework",
],
path: "Tests"
)
]
)