MCPcopy Create free account
hub / github.com/Snapchat/Valdi / queryBuildOutputs

Method queryBuildOutputs

npm_modules/cli/src/utils/BazelClient.ts:183–187  ·  view source on GitHub ↗
(targets: readonly string[], extraArgs: string = '')

Source from the content-addressed store, hash-verified

181 }
182
183 async queryBuildOutputs(targets: readonly string[], extraArgs: string = ''): Promise<string[]> {
184 const command = `cquery 'set(${targets.join(' ')})' --output files ${extraArgs}`;
185 const lines = await this.runCommandWithLinesOutput(command);
186 return lines.sort();
187 }
188
189 async buildTarget(target: string, extraArgs: string = ''): Promise<CommandResult> {
190 // Use 'inherit' as the stdio mode by default as usually the output irrelevant

Callers 4

getOutputFilePathFunction · 0.80
buildProjectSyncsFunction · 0.80
runProjectSyncFunction · 0.80
hotreloadResolvedTargetFunction · 0.80

Calls 3

sortMethod · 0.65
joinMethod · 0.45

Tested by

no test coverage detected