File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Plugins/BridgeJS/Sources/BridgeJSBuildPlugin Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,15 +10,15 @@ struct BridgeJSBuildPlugin: BuildToolPlugin {
1010 }
1111 return try [
1212 createExportSwiftCommand ( context: context, target: swiftSourceModuleTarget) ,
13- createImportTSCommand ( context: context, target: swiftSourceModuleTarget)
13+ createImportTSCommand ( context: context, target: swiftSourceModuleTarget) ,
1414 ]
1515 }
1616
17- private func createExportSwiftCommand( context: PluginContext , target: SwiftSourceModuleTarget ) throws -> Command
18- {
17+ private func createExportSwiftCommand( context: PluginContext , target: SwiftSourceModuleTarget ) throws -> Command {
1918 let outputSwiftPath = context. pluginWorkDirectoryURL. appending ( path: " ExportSwift.swift " )
2019 let outputSkeletonPath = context. pluginWorkDirectoryURL. appending ( path: " ExportSwift.json " )
21- let inputFiles = target. sourceFiles. filter { !$0. url. path. hasPrefix ( context. pluginWorkDirectoryURL. path + " / " ) } . map ( \. url)
20+ let inputFiles = target. sourceFiles. filter { !$0. url. path. hasPrefix ( context. pluginWorkDirectoryURL. path + " / " ) }
21+ . map ( \. url)
2222 return . buildCommand(
2323 displayName: " Export Swift API " ,
2424 executable: try context. tool ( named: " BridgeJSTool " ) . url,
You can’t perform that action at this time.
0 commit comments