node-pre-gyp
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -17,5 +17,3 @@ | ||
, cp = require('child_process') | ||
, package_json = require('package.json') | ||
function test_binary(opts,callback) { | ||
@@ -157,3 +155,3 @@ var args = []; | ||
if (!package_json.binary) { | ||
return callback(new Error("package.json must declare 'binary object'")); | ||
return callback(new Error("package.json must declare 'binary' object'")); | ||
} | ||
@@ -191,2 +189,4 @@ var o = package_json.binary; | ||
function rebuild(gyp, argv, callback) { | ||
// @TODO - respect -C/--directory | ||
var package_json = JSON.parse(fs.readFileSync('./package.json')); | ||
validate_config(package_json,function(err) { | ||
@@ -193,0 +193,0 @@ if (err) return callback(err); |
{ | ||
"name": "node-pre-gyp", | ||
"description": "Node.js native addon binary install tool", | ||
"version": "0.1.1", | ||
"keywords": [ | ||
@@ -13,3 +14,2 @@ "native", | ||
], | ||
"version": "0.1.0", | ||
"author": "Dane Springmeyer <dane@mapbox.com>", | ||
@@ -16,0 +16,0 @@ "repository": { |
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
22437
577