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

Function buildJava

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

Source from the content-addressed store, hash-verified

44}
45
46async function buildJava(dir: string): Promise<StepResult[]> {
47 const steps: StepResult[] = [];
48 const build = await runStep('build', 'mvn', ['-q', 'compile'], dir);
49 steps.push(build);
50 if (!build.success) return steps;
51
52 steps.push(await runStep('test', 'mvn', ['-q', 'test'], dir));
53 return steps;
54}
55
56async function buildGo(dir: string): Promise<StepResult[]> {
57 const steps: StepResult[] = [];

Callers 1

buildProjectFunction · 0.85

Calls 1

runStepFunction · 0.90

Tested by

no test coverage detected