Open mobileben opened 4 years ago
I took a look more at the code. This isn't as straight forward as I initially thought it would be because of the way BuildStep
objects are initialized.
A possibility would be to hijack one of the addCompilationTimes
variants to accomplish this.
Would that be considered too messy and potentially error prone?
Hi @mobileben! Is this issue still valid? In that case, do you have a POC PR to demonstrate?
I realize this is something that Apple is doing with their
xcactivitylog
. It appears withCompileC
andCompileSwift
that thedocumentURL
will contain the file name of the file that is being compiled. This is populated by theDVTDocumentLocation
.It seems it would also be useful to have this information available to other compile types such as
CompileStoryboard
andCompileXIB
. It does look like we should be able to derive this from thetitle
.