boom-deploy
Advanced tools
Comparing version 0.0.24 to 0.0.25
@@ -56,2 +56,3 @@ | ||
//sudoSetPassword(); | ||
sudo('echo {{env}}'); | ||
sudo('service memcached restart'); | ||
@@ -58,0 +59,0 @@ }) |
@@ -30,6 +30,2 @@ | ||
new Helper(function symlinkTo(from, to){ | ||
ssh('[ -e ' + to + ' ] && ln -s ' + to + ' ' + from); | ||
}); | ||
new Helper(function deployRollback(){ | ||
@@ -36,0 +32,0 @@ getReleases(); |
@@ -164,2 +164,12 @@ var _ = require('lodash'); | ||
}().wait() | ||
}, | ||
symlinkTo: function(from, to){ | ||
return function(){ | ||
var future = new Future; | ||
fiberWrapper(scope.ssh.bind(this, '[ -e ' + to + ' ] && ln -nfs ' + to + ' ' + from), [], function(err, res){ | ||
if (err) future.throw(err); | ||
else future.return(res); | ||
}) | ||
return future; | ||
}().wait() | ||
} | ||
@@ -166,0 +176,0 @@ } |
{ | ||
"name": "boom-deploy", | ||
"main": "boom.js", | ||
"version": "0.0.24", | ||
"version": "0.0.25", | ||
"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
33067
1037