Comparing version 1.0.2 to 1.0.3
27
index.js
@@ -5,13 +5,18 @@ #!/usr/bin/env node | ||
var runningScript = exec('sh test.sh', function(err) { | ||
if (err) { | ||
throw new Error("Error when running the script: " + err); | ||
} | ||
}); | ||
function runTemplatesBuild() { | ||
var ps = exec('sh test.sh', function(err) { | ||
if (err) { | ||
throw new Error("Error when running the script: " + err); | ||
} | ||
}); | ||
ps.stdout.on('data', function(data) { | ||
console.log(data); | ||
}); | ||
ps.stderr.on('data', function(data) { | ||
console.log(data); | ||
}); | ||
} | ||
runningScript.stdout.on('data', function(data) { | ||
console.log(data); | ||
}); | ||
runningScript.stderr.on('data', function(data) { | ||
console.log(data); | ||
}); | ||
module.exports = { | ||
'runTemplatesBuild': runTemplatesBuild | ||
}; |
{ | ||
"name": "fh-build", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "A module containing some scripts for building RHMAP components", | ||
"main": "index.js", | ||
"main": "./index.js", | ||
"bin": { | ||
"fh-build": "index.js" | ||
"fh-build": "./test.sh" | ||
}, | ||
@@ -9,0 +9,0 @@ "scripts": { |
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
912
18