(target: string, extraArgs: string = '')
| 209 | return Digraph.parse(stdout.trim()); |
| 210 | } |
| 211 | |
| 212 | async queryBuildOutputs(targets: readonly string[], extraArgs: string = ''): Promise<string[]> { |
| 213 | const command = `cquery 'set(${targets.join(' ')})' --output files ${this.stableExecArgs()} ${extraArgs}`; |
| 214 | const lines = await this.runCommandWithLinesOutput(command); |
| 215 | return lines.sort(); |
| 216 | } |
| 217 | |
| 218 | async buildTarget(target: string, extraArgs: string = ''): Promise<CommandResult> { |
| 219 | // Use 'inherit' as the stdio mode by default as usually the output irrelevant |
| 220 | // and only the success/failure matters |
no test coverage detected