Add new analytics parameters pathSuffix
Some checks failed
openium/resgen.swift/pipeline/head There was a failure building this commit
Some checks failed
openium/resgen.swift/pipeline/head There was a failure building this commit
This commit is contained in:
@@ -39,7 +39,10 @@ struct Analytics: ParsableCommand {
|
||||
print("[\(Self.toolName)] Will generate analytics")
|
||||
|
||||
// Parse input file
|
||||
let sections = AnalyticsFileParser().parse(options.inputFile, target: options.target)
|
||||
let sections = AnalyticsFileParser().parse(
|
||||
options.inputFile,
|
||||
target: options.target
|
||||
)
|
||||
|
||||
// Generate extension
|
||||
AnalyticsGenerator.writeExtensionFiles(
|
||||
@@ -48,7 +51,8 @@ struct Analytics: ParsableCommand {
|
||||
tags: ["ios", "iosonly"],
|
||||
isStatic: options.staticMembers,
|
||||
outputFile: options.outputFile,
|
||||
visibility: options.extensionVisibility
|
||||
visibility: options.extensionVisibility,
|
||||
pathSuffix: options.pathSuffix
|
||||
)
|
||||
|
||||
print("[\(Self.toolName)] Analytics generated")
|
||||
|
||||
Reference in New Issue
Block a user