forked from vapor/vapor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
32 lines (27 loc) · 866 Bytes
/
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
import PackageDescription
let package = Package(
name: "Vapor",
dependencies: [
.Package(url: "https://github.com/czechboy0/Jay.git", majorVersion: 0, minor: 3)
],
exclude: [],
targets: [
Target(
name: "Vapor",
dependencies: [
.Target(name: "libc")
]
),
Target(
name: "VaporDev",
dependencies: [
.Target(name: "Vapor")
]
)
]
)
//with the new swiftpm we have to force it to create a static lib so that we can use it
//from xcode. this will become unnecessary once official xcode+swiftpm support is done.
//watch progress: https://github.com/apple/swift-package-manager/compare/xcodeproj?expand=1
let lib = Product(name: "Vapor", type: .Library(.Dynamic), modules: "Vapor")
products.append(lib)