(targets: string[], extraArgs: string = '')
| 237 | }); |
| 238 | } |
| 239 | |
| 240 | async runTarget(target: string, extraArgs: string = ''): Promise<CommandResult> { |
| 241 | const commandBuildTarget = `run ${target} ${this.stableExecArgs()} ${extraArgs}`; |
| 242 | |
| 243 | return await this.spawnCommand(commandBuildTarget, 'inherit').catch(() => { |
| 244 | throw new CliError(`Failed to run target: ${target}`); |
| 245 | }); |
| 246 | } |
| 247 | |
| 248 | // Run bazel query for targets matching queryKind and filtered to match any of the specified |
| 249 | // filters. |
no test coverage detected