MCPcopy Index your code
hub / github.com/devcontainers/cli / build

Function build

src/spec-node/devContainersSpecCLI.ts:570–578  ·  view source on GitHub ↗
(args: BuildArgs)

Source from the content-addressed store, hash-verified

568}
569
570async function build(args: BuildArgs) {
571 const result = await doBuild(args);
572 const exitCode = result.outcome === 'error' ? 1 : 0;
573 await new Promise<void>((resolve, reject) => {
574 process.stdout.write(JSON.stringify(result) + '\n', err => err ? reject(err) : resolve());
575 });
576 await result.dispose();
577 process.exit(exitCode);
578}
579
580async function doBuild({
581 'user-data-folder': persistedFolder,

Callers

nothing calls this directly

Calls 4

doBuildFunction · 0.85
resolveFunction · 0.85
writeMethod · 0.65
disposeMethod · 0.65

Tested by

no test coverage detected