forked from krzysztofzablocki/Sourcery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
55 lines (53 loc) · 2.07 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
44
45
46
47
48
49
50
51
52
53
54
55
// swift-tools-version:4.0
import PackageDescription
let package = Package(
name: "Sourcery",
products: [
.executable(name: "sourcery", targets: ["Sourcery"]),
.library(name: "SourceryRuntime", targets: ["SourceryRuntime"]),
.library(name: "SourceryJS", targets: ["SourceryJS"]),
.library(name: "SourcerySwift", targets: ["SourcerySwift"]),
],
dependencies: [
.package(url: "https://github.com/kylef/Commander.git", .exact("0.7.1")),
// PathKit needs to be exact to avoid a SwiftPM bug where dependency resolution takes a very long time.
.package(url: "https://github.com/kylef/PathKit.git", .exact("0.9.2")),
.package(url: "https://github.com/jpsim/SourceKitten.git", .exact("0.21.2")),
.package(url: "https://github.com/kylef/Stencil.git", .exact("0.13.1")),
.package(url: "https://github.com/SwiftGen/StencilSwiftKit.git", .exact("2.7.0")),
.package(url: "https://github.com/seanparsons/SwiftTryCatch.git", .revision("6a177252cfa2ef649b0aa7b2d16ab221386ca51c")),
.package(url: "https://github.com/tuist/xcodeproj", .exact("4.3.1")),
.package(url: "https://github.com/tadija/AEXML.git", .exact("4.3.3")),
],
targets: [
.target(name: "Sourcery", dependencies: [
"SourceryFramework",
"SourceryRuntime",
"SourceryJS",
"SourcerySwift",
"Commander",
"PathKit",
"SourceKittenFramework",
"StencilSwiftKit",
"xcproj",
"SwiftTryCatch",
]),
.target(name: "SourceryRuntime"),
.target(name: "SourceryUtils", dependencies: [
"PathKit"
]),
.target(name: "SourceryFramework", dependencies: [
"PathKit",
"SourceKittenFramework",
"SourceryUtils"
]),
.target(name: "SourceryJS", dependencies: [
"PathKit"
]),
.target(name: "SourcerySwift", dependencies: [
"PathKit",
"SourceryRuntime",
"SourceryUtils"
])
]
)