MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / prepareWebDist

Function prepareWebDist

tooling/scripts/perf-web-runtime.mjs:444–451  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

442}
443
444async function prepareWebDist() {
445 if (!skipWebBuild || !(await fileExists(webDistIndex))) {
446 await run(npmCommand, ['run', 'build:nocheck', '--workspace', '@zennotes/web'], {
447 shell: process.platform === 'win32'
448 })
449 }
450 await run(process.execPath, [syncWebDistScript])
451}
452
453async function buildGoServer(outputPath) {
454 await run('go', ['build', '-trimpath', '-o', outputPath, './cmd/zennotes-server'], {

Callers 1

mainFunction · 0.85

Calls 2

fileExistsFunction · 0.70
runFunction · 0.70

Tested by

no test coverage detected