-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
35 lines (33 loc) · 1.03 KB
/
Package.swift
File metadata and controls
35 lines (33 loc) · 1.03 KB
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: 5.10
import PackageDescription
let package = Package(
name: "CallableKitCodegen",
platforms: [.macOS(.v14)],
products: [
.executable(name: "codegen", targets: ["Codegen"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.2.2"),
.package(url: "https://github.com/omochi/CodableToTypeScript.git", from: "3.0.2"),
.package(url: "https://github.com/omochi/SwiftTypeReader.git", from: "3.1.0"),
],
targets: [
.executableTarget(
name: "Codegen",
dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser"),
"CodegenImpl",
]
),
.target(
name: "CodegenImpl",
dependencies: [
"CodableToTypeScript",
"SwiftTypeReader",
],
swiftSettings: [
.enableUpcomingFeature("BareSlashRegexLiterals"),
]
),
]
)