boom-deploy
Advanced tools
Comparing version 0.0.26 to 0.0.27
@@ -56,2 +56,4 @@ | ||
//sudoSetPassword(); | ||
sudo('service nginx reload'); | ||
sudo('service php5-fpm reload'); | ||
sudo('echo {{env}}'); | ||
@@ -58,0 +60,0 @@ sudo('service memcached restart'); |
@@ -78,11 +78,10 @@ var _ = require('lodash'); | ||
if (!task) return callback(new Error('task ' + taskname + ' not found.')); | ||
logger.info($('Executing: task ' + $(taskname).cyan).bold); | ||
exports.executors.js(task.func.toString(), args, function(err, out){ | ||
var funcstring = task.func.toString(); | ||
logger.info($('Executing: task ' + $(taskname).cyan).bold + '\n' + $(funcstring).cyan); | ||
exports.executors.js(funcstring, args, function(err, out){ | ||
if (err) return callback(err); | ||
callback(null, out); | ||
}) | ||
}, | ||
js: function(funcstring, args, callback){ | ||
logger.info($('Executing: js').bold + '\n' + $(funcstring).green); | ||
@@ -89,0 +88,0 @@ var wrapper = '__fiberWrapper(' + funcstring + ', __args, __cb)'; |
@@ -102,2 +102,3 @@ var _ = require('lodash'); | ||
var args = [].slice.call(arguments, 1); | ||
logger.info($('Executing: js').bold + '\n' + $(funcstring).green); | ||
return function(){ | ||
@@ -104,0 +105,0 @@ var future = new Future; |
@@ -29,3 +29,3 @@ var cp = require('child_process'); | ||
setImmediate(function(){ | ||
if (err.length && !res.length) return callback(err.join('')); | ||
//if (err.length && !res.length) return callback(err.join('')); | ||
callback(code === 0 ? null : code, res && res.join('')); | ||
@@ -32,0 +32,0 @@ }) |
{ | ||
"name": "boom-deploy", | ||
"main": "boom.js", | ||
"version": "0.0.26", | ||
"version": "0.0.27", | ||
"description": "deploy your app", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
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
33190
1040