forked from vapor/vapor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
64 lines (53 loc) · 2.11 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
59
60
61
62
63
64
import PackageDescription
let package = Package(
name: "Vapor",
targets: [
// Framework
Target(name: "Vapor", dependencies: [
"Routing",
"HTTPRouting",
"TypeSafeRouting",
"Auth",
"Cache",
"Cookies",
"Sessions",
"Settings"
]),
// Routing
Target(name: "Routing"),
Target(name: "HTTPRouting", dependencies: ["Routing"]),
// Type Safe
Target(name: "TypeSafeRouting", dependencies: ["Routing", "HTTPRouting"]),
// Target(name: "TypeSafeGenerator"),
// Misc
Target(name: "Auth", dependencies: ["Cookies", "Cache"]),
Target(name: "Cache"),
Target(name: "Cookies"),
Target(name: "Sessions", dependencies: ["Cookies"]),
Target(name: "Settings"),
// Development and Testing
// Target(name: "Development", dependencies: ["Vapor"]),
// Target(name: "Performance", dependencies: ["Vapor"]),
],
dependencies: [
// SHA2 + HMAC hashing. Used by the core to create session identifiers.
.Package(url: "https://github.com/vapor/crypto.git", majorVersion: 1),
// ORM for interacting with databases
.Package(url: "https://github.com/vapor/fluent.git", majorVersion: 1),
// Core vapor transport layer
.Package(url: "https://github.com/vapor/engine.git", majorVersion: 1),
// Console protocol and implementation for powering command line interface.
.Package(url: "https://github.com/vapor/console.git", majorVersion: 1),
// JSON enum wrapper around Foundation JSON
.Package(url: "https://github.com/vapor/json.git", majorVersion: 1),
// A security framework for Swift.
.Package(url: "https://github.com/stormpath/Turnstile.git", majorVersion: 1),
// An extensible templating language built for Vapor. 🍃
.Package(url: "https://github.com/vapor/leaf.git", majorVersion: 1),
],
exclude: [
"Sources/Development",
"Sources/Performance",
"Sources/TypeSafeGenerator"
]
)