MCPcopy
hub / github.com/aws-samples/aws-cdk-examples / buildGo

Function buildGo

scripts/build-toolkit/src/build.ts:56–64  ·  view source on GitHub ↗
(dir: string)

Source from the content-addressed store, hash-verified

54}
55
56async function buildGo(dir: string): Promise<StepResult[]> {
57 const steps: StepResult[] = [];
58 const build = await runStep('build', 'go', ['build'], dir);
59 steps.push(build);
60 if (!build.success) return steps;
61
62 steps.push(await runStep('test', 'go', ['test', './...'], dir));
63 return steps;
64}
65
66async function buildCsharp(dir: string): Promise<StepResult[]> {
67 const steps: StepResult[] = [];

Callers 1

buildProjectFunction · 0.85

Calls 1

runStepFunction · 0.90

Tested by

no test coverage detected