( projectDir: string, buildArgs: string[], logPrefix: string, )
| 160 | } |
| 161 | |
| 162 | export async function executeXcodemakeCommand( |
| 163 | projectDir: string, |
| 164 | buildArgs: string[], |
| 165 | logPrefix: string, |
| 166 | ): Promise<CommandResponse> { |
| 167 | const xcodemakeCommand = [getXcodemakeCommand(), ...buildArgs]; |
| 168 | const prefix = projectDir + '/'; |
| 169 | const command = xcodemakeCommand.map((arg) => { |
| 170 | if (arg.startsWith(prefix)) { |
| 171 | return arg.substring(prefix.length); |
| 172 | } |
| 173 | return arg; |
| 174 | }); |
| 175 | |
| 176 | return getDefaultCommandExecutor()(command, logPrefix, false, { cwd: projectDir }); |
| 177 | } |
| 178 | |
| 179 | export async function executeMakeCommand( |
| 180 | projectDir: string, |
no test coverage detected