MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / buildHandlerZip

Function buildHandlerZip

packages/cli/src/commands/lambda/deploy.ts:102–114  ·  view source on GitHub ↗
(root: string)

Source from the content-addressed store, hash-verified

100}
101
102function buildHandlerZip(root: string): void {
103 // bun run --cwd packages/aws-lambda build:zip
104 const result = spawnSync(
105 "bun",
106 ["run", "--cwd", join(root, "packages", "aws-lambda"), "build:zip"],
107 { stdio: "inherit" },
108 );
109 if (result.status !== 0) {
110 throw new Error(
111 `[lambda deploy] handler ZIP build exited with code ${result.status ?? "unknown"}`,
112 );
113 }
114}

Callers 1

runDeployFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected