forked from vapor/vapor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
49 lines (40 loc) · 1.62 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
import PackageDescription
let beta = Version(2,0,0, prereleaseIdentifiers: ["beta"])
let package = Package(
name: "Vapor",
targets: [
// Framework
Target(name: "Vapor", dependencies: [
"Cache",
"Sessions",
"Settings"
]),
// Misc
Target(name: "Cache"),
Target(name: "Sessions", dependencies: ["Cache"]),
Target(name: "Settings"),
Target(name: "Testing", dependencies: ["Vapor"]),
// Development and Testing
// Target(name: "Development", dependencies: ["Vapor"]),
// Target(name: "Performance", dependencies: ["Vapor"]),
],
dependencies: [
// Core vapor transport layer
.Package(url: "https://github.com/vapor/engine.git", beta),
// Console protocol and implementation for powering command line interface.
.Package(url: "https://github.com/vapor/console.git", beta),
// JSON enum wrapper around Foundation JSON
.Package(url: "https://github.com/vapor/json.git", beta),
// A type safe routing package including HTTP and TypeSafe routers.
.Package(url: "https://github.com/vapor/routing.git", beta),
// Parses `Content-Type: multipart` as defined in RFC 2046.
.Package(url: "https://github.com/vapor/multipart.git", beta),
// Swift implementation of the BCrypt password hashing function
.Package(url: "https://github.com/vapor/bcrypt.git", Version(1,0,0, prereleaseIdentifiers: ["beta"]))
],
exclude: [
"Sources/Development",
"Sources/Performance",
"Sources/TypeSafeGenerator"
]
)