update
This commit is contained in:
@@ -1 +1 @@
|
||||
module.exports = ['darwin', 'linux', 'win32']
|
||||
module.exports = ['darwin', 'linux']
|
||||
|
||||
@@ -17,6 +17,7 @@ updatePackageJson(path.join(__dirname, '..', 'package.json'), {
|
||||
for (const name of platforms) {
|
||||
const pkgDir = path.join(__dirname, '..', 'npm', name)
|
||||
const filename = `index.${name}.node`
|
||||
if (!fs.existsSync(path.join(__dirname, '..', filename))) continue
|
||||
const bindingFile = fs.readFileSync(path.join(__dirname, '..', filename))
|
||||
fs.writeFileSync(path.join(pkgDir, filename), bindingFile)
|
||||
execSync('npm publish', {
|
||||
|
||||
Reference in New Issue
Block a user