Passage version en 1.2
Some checks failed
gitea-openium/resgen.swift/pipeline/head There was a failure building this commit
Some checks failed
gitea-openium/resgen.swift/pipeline/head There was a failure building this commit
Ajout de la définition d'une architecture de classe pour éviter de définir manuellement les classes R/R2Image/R2Fonts.... (optionel)
This commit is contained in:
@ -41,16 +41,18 @@ struct Generate: ParsableCommand {
|
||||
print(" - \(configuration.tags.count) tags configuration(s)")
|
||||
print()
|
||||
|
||||
print("Input file: \(configuration.colors.first?.inputFile ?? "no input file")")
|
||||
if let architecture = configuration.architecture {
|
||||
ArchitectureGenerator.writeArchitecture(architecture)
|
||||
}
|
||||
|
||||
// Execute commands
|
||||
configuration.runnableConfigurations
|
||||
.forEach {
|
||||
let begin = Date()
|
||||
$0.run(projectDirectory: options.projectDirectory,
|
||||
force: options.forceGeneration)
|
||||
print("Took: \(Date().timeIntervalSince(begin))s\n")
|
||||
}
|
||||
// // Execute commands
|
||||
// configuration.runnableConfigurations
|
||||
// .forEach {
|
||||
// let begin = Date()
|
||||
// $0.run(projectDirectory: options.projectDirectory,
|
||||
// force: options.forceGeneration)
|
||||
// print("Took: \(Date().timeIntervalSince(begin))s\n")
|
||||
// }
|
||||
|
||||
print("[\(Self.toolName)] Resgen ended")
|
||||
}
|
||||
|
Reference in New Issue
Block a user