File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
PADProjectBuilder/SwiftInterfaceProducer Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -144,9 +144,6 @@ private extension SwiftPackageFileAnalyzer {
144144 newProjectBasePath: String
145145 ) throws -> [ String ] {
146146
147- logger? . log ( " Old project base path \( oldProjectBasePath) " , from: String ( describing: Self . self) )
148- logger? . log ( " New project base path \( newProjectBasePath) " , from: String ( describing: Self . self) )
149-
150147 let oldResourcePaths = Set ( oldResources. map ( \. path) . map { $0. trimmingPrefix ( oldProjectBasePath) } )
151148 let newResourcePaths = Set ( newResources. map ( \. path) . map { $0. trimmingPrefix ( newProjectBasePath) } )
152149
@@ -176,6 +173,10 @@ private extension SwiftPackageFileAnalyzer {
176173 return " Removed resource \( resource. description) "
177174 }
178175
176+ // TODO: Remove this again!
177+ listOfChanges += [ " [DEBUG] Old project base path \( oldProjectBasePath) " ]
178+ listOfChanges += [ " [DEBUG] New project base path \( newProjectBasePath) " ]
179+
179180 return listOfChanges
180181 }
181182}
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ struct XcodeTools {
8888 let result = shell. execute ( command)
8989 let derivedDataPath = " \( projectDirectoryPath) / \( Constants . derivedDataPath) "
9090
91- // logger?.debug(result, from: String(describing: Self.self))
91+ logger? . debug ( result, from: String ( describing: Self . self) )
9292
9393 // It might be that the archive failed but the .swiftinterface files are still created
9494 // so we have to check outside if they exist.
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ private extension XcodeToolsTests {
101101 ( " 📦 Archiving SCHEME from PROJECT_DIRECTORY_PATH " , " XcodeTools " )
102102 ]
103103 var expectedHandleDebugCalls : [ ( message: String , subsystem: String ) ] = [
104- // (archiveResult, "XcodeTools")
104+ ( archiveResult, " XcodeTools " )
105105 ]
106106 var expectedHandleFileExistsCalls = [ " PROJECT_DIRECTORY_PATH/.build " ]
107107
You can’t perform that action at this time.
0 commit comments