Optional generation of extension (R.xx)
Some checks reported errors
gitea-openium/resgen.swift/pipeline/head Something is wrong with the build of this commit

Optional generation of Colors/Fonts/Images/Stringium extension
This commit is contained in:
2025-07-17 09:39:43 +02:00
parent c3b8ebfb37
commit 5b0ae8afe5
34 changed files with 973 additions and 688 deletions

View File

@@ -14,6 +14,7 @@ enum FontsToolError: Error {
case inputFolderNotFound(String)
case fileNotExists(String)
case writeExtension(String, String)
case missingExtensionPath
var description: String {
switch self {
@@ -31,6 +32,9 @@ enum FontsToolError: Error {
case let .writeExtension(filename, info):
return "error: [\(Fonts.toolName)] An error occured while writing extension in \(filename): \(info)"
case .missingExtensionPath:
return "error: [\(Fonts.toolName)] Extension need to be generated but no `extensionOutputPath` is provided"
}
}
}