-
Notifications
You must be signed in to change notification settings - Fork 14
/
Package.swift
53 lines (52 loc) · 2.12 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
// swift-tools-version:4.0
import PackageDescription
let package = Package(
name: "HaCWebsite",
products: [
.library(name: "HaCTML", targets: ["HaCTML"]),
.library(name: "HaCWebsiteLib", targets: ["HaCWebsiteLib"]),
.executable(name: "HaCWebsite", targets: ["HaCWebsite"])
],
dependencies: [
.package(url: "https://github.com/IBM-Swift/Kitura.git", .upToNextMinor(from: "2.0.0")),
.package(url: "https://github.com/IBM-Swift/SwiftyJSON.git", .upToNextMinor(from: "17.0.0")),
.package(url: "https://github.com/IBM-Swift/HeliumLogger.git", .upToNextMinor(from: "1.7.1")),
.package(url: "https://github.com/IBM-Swift/Kitura-Markdown.git", .upToNextMajor(from: "0.9.1")),
.package(url: "https://github.com/IBM-Swift/Kitura-Compression.git", .upToNextMajor(from: "2.0.0")),
.package(url: "https://github.com/hackersatcambridge/YamlSwift.git", .upToNextMinor(from: "4.0.0")),
.package(url: "https://github.com/jaredkhan/SwiftDotEnv.git", .upToNextMinor(from: "1.2.0")),
.package(url: "https://github.com/alexaubry/HTMLString", .upToNextMinor(from: "3.0.0")),
.package(url: "https://github.com/vapor/fluent.git", .upToNextMinor(from: "2.4.0")),
.package(url: "https://github.com/vapor-community/postgresql-driver.git", .upToNextMinor(from: "2.1.0")),
.package(url: "https://github.com/IBM-Swift/Kitura-CredentialsHTTP.git", .upToNextMinor(from: "2.0.0")),
.package(url: "https://github.com/sharplet/Regex", .upToNextMajor(from: "1.1.0"))
],
targets: [
.target(name: "HaCTML", dependencies: [
"HTMLString"
]),
.target(name: "HaCWebsiteLib", dependencies: [
"HaCTML",
"Kitura",
"SwiftyJSON",
"HeliumLogger",
"KituraMarkdown",
"KituraCompression",
"Yaml",
"SwiftDotEnv",
"HTMLString",
"Fluent",
"PostgreSQLDriver",
"CredentialsHTTP",
"Regex"
]),
.target(name: "HaCWebsite", dependencies: [
"HaCWebsiteLib"
]),
.testTarget(name: "HaCWebsiteLibTests", dependencies: [
"HaCWebsiteLib"
])
],
// Tell SwiftPM which versions of Swift we can run on
swiftLanguageVersions: [4]
)