animate/webGl/my-threejs-test/node_modules/lmdb/bin/download-prebuilds.js

15 lines
441 B
JavaScript
Raw Normal View History

2024-06-24 09:24:00 +00:00
#!/usr/bin/env node
import { dirname } from 'path';
import { fileURLToPath } from 'url';
import { exec } from 'child_process';
exec('download-msgpackr-prebuilds', propagateOutput);
process.chdir(fileURLToPath(dirname(dirname(import.meta.url))));
exec('prebuildify-ci download', propagateOutput);
function propagateOutput(error, stdout, stderr) {
console.error(stderr);
console.log(stdout);
if (error?.code)
process.exit(error.code);
}