CHGenerator/WebsiteGenerator/Files/Configuration.swift

21 lines
324 B
Swift
Raw Normal View History

2022-08-29 18:57:58 +02:00
import Foundation
struct Configuration {
let pageImageWidth: Int
2022-09-05 15:56:05 +02:00
let minifyCSSandJS: Bool
2022-09-05 16:08:06 +02:00
let contentPath: String
let outputPath: String
var contentDirectory: URL {
.init(fileURLWithPath: contentPath)
}
var outputDirectory: URL {
.init(fileURLWithPath: outputPath)
}
2022-08-29 18:57:58 +02:00
}