Files
SnowLuma/.pnpm-store/v11/files/e6/85af7fd33df911d59827d1ac59f041706c829a12fde2f231eeb453b2c43d00caeea434ffc8da23d9b54123ffbdd74520be3e0d7315cd0942d34c604dfc0673
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

14 lines
285 B
JavaScript

#!/usr/bin/env node
const {spawn} = require('child_process');
if (process.env.npm_config_build_from_source === 'true') {
build();
}
function build() {
spawn('node-gyp', ['rebuild'], { stdio: 'inherit', shell: true }).on('exit', function (code) {
process.exit(code);
});
}