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 {
10
10
}
11
11
return try [
12
12
createExportSwiftCommand ( context: context, target: swiftSourceModuleTarget) ,
13
- createImportTSCommand ( context: context, target: swiftSourceModuleTarget)
13
+ createImportTSCommand ( context: context, target: swiftSourceModuleTarget) ,
14
14
]
15
15
}
16
16
17
- private func createExportSwiftCommand( context: PluginContext , target: SwiftSourceModuleTarget ) throws -> Command
18
- {
17
+ private func createExportSwiftCommand( context: PluginContext , target: SwiftSourceModuleTarget ) throws -> Command {
19
18
let outputSwiftPath = context. pluginWorkDirectoryURL. appending ( path: " ExportSwift.swift " )
20
19
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)
22
22
return . buildCommand(
23
23
displayName: " Export Swift API " ,
24
24
executable: try context. tool ( named: " BridgeJSTool " ) . url,
You can’t perform that action at this time.
0 commit comments