Comparing version 0.1.2 to 0.1.4
{ | ||
"name": "node-shyp", | ||
"version": "0.1.2", | ||
"version": "0.1.4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# node-shyp | ||
Precompile your node modules. | ||
Precompile your node modules, use npm as your data store: | ||
``` | ||
coolmodule | ||
optional: | ||
coolmodule-shyp-win32-x64 | ||
coolmodule-shyp-win32-ia32 | ||
coolmodule-shyp-darwin-x64 | ||
coolmodule-shyp-darwin-ia32 | ||
... | ||
``` | ||
## Installation | ||
@@ -6,0 +16,0 @@ |
@@ -53,4 +53,6 @@ #!/usr/bin/env node | ||
fs.readdirSync(builddir).forEach(function (file) { | ||
if (fs.lstatSync(builddir + file).isFile() && file.match(/\.(exp|lib|node|dylib|exe)$/)) { | ||
fs.writeFileSync(outdirabi + file, fs.readFileSync(builddir + file)); | ||
if (fs.lstatSync(builddir + file).isFile() && file.match(/\.(exp|lib|node|dylib|exe)$|^[^.]+$/)) { | ||
fs.writeFileSync(outdirabi + file, fs.readFileSync(builddir + file), { | ||
mode: fs.lstatSync(builddir + file).mode | ||
}); | ||
} | ||
@@ -57,0 +59,0 @@ }) |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4810
85
65