-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
41 lines (40 loc) · 1.36 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
// swift-tools-version:5.2
import PackageDescription
let package = Package(
name: "kineo-endpoint",
platforms: [.macOS(.v10_15)],
products: [
.library(name: "KineoEndpoint", targets: ["KineoEndpoint"]),
.executable(
name: "kineo-endpoint",
targets: ["kineo-endpoint"]),
],
dependencies: [
.package(name: "Kineo", url: "https://github.com/kasei/kineo.git", .upToNextMinor(from: "0.0.94")),
// .package(name: "Kineo", url: "https://github.com/kasei/kineo.git", .branch("sparql-12")),
.package(name: "Vapor", url: "https://github.com/vapor/vapor.git", from: "3.2.0"),
.package(name: "HTMLString", url: "https://github.com/alexaubry/HTMLString", .upToNextMinor(from: "4.0.0")),
.package(name: "Diomede", url: "https://github.com/kasei/diomede.git", .upToNextMinor(from: "0.0.59")),
// .package(url: "https://github.com/kasei/swift-hdt.git", .upToNextMinor(from: "0.0.6")),
],
targets: [
.target(
name: "KineoEndpoint",
dependencies: [
"Kineo",
"Vapor",
.product(name: "DiomedeQuadStore", package: "Diomede"),
// "HDT",
"HTMLString"
]
),
.target(
name: "kineo-create-db",
dependencies: ["KineoEndpoint"]
),
.target(
name: "kineo-endpoint",
dependencies: ["KineoEndpoint", "Vapor"]
),
]
)