MCPcopy Create free account
hub / github.com/dendronhq/dendron / generateBuildScript

Function generateBuildScript

genScripts.js:127–140  ·  view source on GitHub ↗
({ scope, group, standalone })

Source from the content-addressed store, hash-verified

125}
126
127function generateBuildScript({ scope, group, standalone }) {
128 const standaloneSection = `
129lerna run build --parallel --scope ${standalone}
130`;
131
132 const script = `
133#!/usr/bin/env sh
134
135${standalone ? standaloneSection : ""}
136
137lerna run build --parallel --scope ${scope}
138`;
139 writeScript(`./scripts/build-${group}.sh`, script);
140}
141
142function generateScript({
143 prefix,

Callers 3

generateClientScriptsFunction · 0.85
generateFrontendScriptsFunction · 0.85

Calls 1

writeScriptFunction · 0.85

Tested by

no test coverage detected