You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run Periphery once for each build configuration and merge the results. You can pass arguments to the underlying build by specifying them after --, e.g periphery scan ... -- -configuration release.
And I'm not sure what is meant by merging the results? My understanding of this means that I get the results, then merge the results–meaning that the same individual results will be the same, while new individual results will be added together; thus in this example both will be unused?
periphery scan ... -- -configuration debug
struct BuildInfo {
let debugName = "debug"
let releaseName = "release" // 'releaseName' is unused
var name: String {
#if DEBUG
debugName
#else
releaseName
#endif
}
}
periphery scan ... -- -configuration release
struct BuildInfo {
let debugName = "debug" // 'debugName' is unused
let releaseName = "release"
var name: String {
#if DEBUG
debugName
#else
releaseName
#endif
}
}
... merge results ...
struct BuildInfo {
let debugName = "debug" // 'debugName' is unused
let releaseName = "release" // 'releaseName' is unused
var name: String {
#if DEBUG
debugName
#else
releaseName
#endif
}
}
Or am I misunderstanding how and what you mean by merging the results?
The text was updated successfully, but these errors were encountered:
I read this line in the readme
And I'm not sure what is meant by merging the results? My understanding of this means that I get the results, then merge the results–meaning that the same individual results will be the same, while new individual results will be added together; thus in this example both will be unused?
Or am I misunderstanding how and what you mean by merging the results?
The text was updated successfully, but these errors were encountered: