-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
29 lines (25 loc) · 948 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
26
27
28
29
// swift-tools-version:5.0
import PackageDescription
let package = Package(
name: "Meta",
platforms: [.macOS(.v10_14)],
products: [
.library(name: "Meta", targets: ["Meta"]),
.executable(name: "generate-optics", targets: ["OpticsGenerator"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-syntax.git", .exact("0.50000.0")),
.package(url: "https://github.com/bow-swift/bow.git", .exact("0.6.0")),
.package(url: "https://github.com/pointfreeco/swift-snapshot-testing.git", .exact("1.6.0")),
],
targets: [
// Library targets
.target(name: "Meta",
dependencies: ["SwiftSyntax", "Bow", "BowEffects", "BowOptics"]),
.target(name: "OpticsGenerator",
dependencies: ["Meta"]),
// Test targets
.testTarget(name: "MetaTests",
dependencies: ["Meta", "SnapshotTesting"])
]
)