scripts/install.js
async function run() {
  // First check if deps library exists:
  if (forceDownload !== 'download' && await exists(depsLibTensorFlowPath)) {
    // Library has already been downloaded, then compile and simlink:
    await build();
  } else {
    // Library has not been downloaded, download, then compile and symlink:
    await cleanDeps();
    await downloadLibtensorflow(build);
  }
}
async function run() {
  // First check if deps library exists:
  if (forceDownload !== 'download' && await exists(depsLibTensorFlowPath)) {
    // Library has already been downloaded, then compile and simlink:
    await build();
  } else {
    // Library has not been downloaded, download, then compile and symlink:
    await cleanDeps();
    await downloadLibtensorflow(build);
  }
}
async function run ( ) { // First check if deps library exists: if ( forceDownload !== 'download' && await exists ( depsLibTensorFlowPath ) ) { // Library has already been downloaded, then compile and simlink: await build ( ) ; } else { // Library has not been downloaded, download, then compile and symlink: await cleanDeps ( ) ; await downloadLibtensorflow ( build ) ; } }
Ensures libtensorflow requirements are met for building the binding.
Ensures libtensorflow requirements are met for building the binding .