-
Notifications
You must be signed in to change notification settings - Fork 1
/
Package.swift
34 lines (33 loc) · 1.22 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
// swift-tools-version:4.0
import PackageDescription
let package = Package(
name: "SwiftCodeGen",
products: [
.executable(
name: "swiftcodegen",
targets: ["SwiftCodeGen"]),
.library(name: "SwiftCodeGenCore",
targets: ["SwiftCodeGenCore"]),
],
dependencies: [
.package(url: "https://github.com/Moya/Moya.git", .upToNextMajor(from: "11.0.2")),
.package(url: "https://github.com/kylef/Stencil.git", .upToNextMajor(from: "0.11.0")),
.package(url: "https://github.com/ReactiveX/RxSwift.git", .upToNextMajor(from: "4.1.2")),
.package(url: "https://github.com/jakeheis/SwiftCLI.git", from: "5.0.0"),
.package(url: "https://github.com/kylef/PathKit.git", from: "0.9.1"),
],
targets: [
.target(
name: "SwiftCodeGen",
dependencies: ["SwiftCodeGenCore", "SwiftCLI"]),
.target(
name: "SwiftCodeGenCore",
dependencies: ["Stencil", "PathKit"]),
.testTarget(
name: "SwiftCodeGenTests",
dependencies: ["SwiftCodeGenCore"]),
.target(
name: "SwiftCodeGenExample",
dependencies: ["Moya", "RxSwift", "RxMoya"]),
]
)