Add paths to configuration
This commit is contained in:
@ -5,4 +5,16 @@ struct Configuration {
|
||||
let pageImageWidth: Int
|
||||
|
||||
let minifyCSSandJS: Bool
|
||||
|
||||
let contentPath: String
|
||||
|
||||
let outputPath: String
|
||||
|
||||
var contentDirectory: URL {
|
||||
.init(fileURLWithPath: contentPath)
|
||||
}
|
||||
|
||||
var outputDirectory: URL {
|
||||
.init(fileURLWithPath: outputPath)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user