add linking to Dependency init

This commit is contained in:
Yonas Kolb 2017-11-17 00:37:36 +01:00
parent 78b4a19794
commit 8b0cc83416

View File

@ -18,10 +18,11 @@ public struct Dependency: Equatable {
public var removeHeaders: Bool = true
public var link: Bool = true
public init(type: DependencyType, reference: String, embed: Bool? = nil) {
public init(type: DependencyType, reference: String, embed: Bool? = nil, link: Bool = true) {
self.type = type
self.reference = reference
self.embed = embed
self.link = link
}
public enum DependencyType {