MCPcopy Create free account
hub / github.com/catboost/catboost / compileBuildScripts

Function compileBuildScripts

catboost/node-package/build_scripts/bootstrap.js:7–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5process.chdir('./build_scripts');
6
7function compileBuildScripts() {
8 const buildRun = childProcess.exec(path.join('..','node_modules', '.bin', 'tsc'));
9 buildRun.stdout.on('data', chunk => {
10 console.log(chunk);
11 });
12 buildRun.stderr.on('data', chunk => {
13 console.error(chunk);
14 });
15
16 return new Promise(resolve => {
17 buildRun.on('error', err => resolve({err}));
18 buildRun.on('exit', (code, signal) => resolve({code, signal}));
19 });
20}
21
22function runScript(script) {
23 process.chdir('..');

Callers 2

runCommandFunction · 0.85
bootstrap.jsFile · 0.85

Calls 4

resolveFunction · 0.85
logMethod · 0.80
joinMethod · 0.45
errorMethod · 0.45

Tested by

no test coverage detected