forked from Shopify/syrup
/
Package.swift
58 lines (56 loc) · 1.05 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
56
57
58
// swift-tools-version:5.0
import PackageDescription
let package = Package(
name: "Syrup",
platforms: [
.macOS(.v10_13)
],
products: [
.executable(
name: "Syrup",
targets: ["Syrup"]
),
.library(
name: "SyrupCore",
targets: ["SyrupCore"]
)
],
dependencies: [
.package(
url: "https://github.com/stencilproject/Stencil.git",
.exact("0.13.0")
),
.package(
url: "https://github.com/JohnSundell/files",
from: "4.0.2"
),
.package(
url: "https://github.com/jpsim/Yams.git",
from: "2.0.0"
),
.package(
url: "https://github.com/apple/swift-package-manager.git",
.exact("0.3.0")
),
.package(
url: "https://github.com/Shopify/SwiftGraphQLParser",
from: "0.1.8"
)
],
targets: [
.target(
name: "Syrup",
dependencies: ["SyrupCore", "Utility"]
),
.target(
name: "SyrupCore",
dependencies: ["Stencil", "Files", "Yams", "Utility", "SwiftGraphQLParser"]
),
.testTarget(
name: "SyrupTests",
dependencies: ["Syrup"],
path: "Tests/Swift"
)
],
swiftLanguageVersions: [.version("5")]
)