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

Function install

catboost/node-package/build_scripts/install.ts:4–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2import {existsSync} from 'fs';
3
4async function install(): Promise<void> {
5 if (existsSync('../../build/build_native.py')) {
6 const buildNativeExtraArgs = process.argv.slice(5)
7 await buildNative(buildNativeExtraArgs);
8 return;
9 }
10
11 await buildLocal(process.platform, process.arch);
12}
13
14install().catch(err => {
15 console.error(err);

Callers 1

install.tsFile · 0.70

Calls 3

buildNativeFunction · 0.90
buildLocalFunction · 0.90
sliceMethod · 0.45

Tested by

no test coverage detected