class Caravan::DeployMethods::Shell
Public Instance Methods
after_create()
click to toggle source
Calls superclass method
Caravan::Deploy::Base#after_create
# File lib/caravan/deploy_methods/shell.rb, line 4 def after_create super do Caravan::Message.info("Notice: Shell Deployer is like copy, mainly designed for test.") end end
after_deploy()
click to toggle source
Calls superclass method
Caravan::Deploy::Base#after_deploy
# File lib/caravan/deploy_methods/shell.rb, line 22 def after_deploy super do Caravan::Message.info("Hook: after_deploy") end end
before_deploy()
click to toggle source
Calls superclass method
Caravan::Deploy::Base#before_deploy
# File lib/caravan/deploy_methods/shell.rb, line 10 def before_deploy super do Caravan::Message.info("Hook: before_deploy") end end
before_destroy()
click to toggle source
Calls superclass method
Caravan::Deploy::Base#before_destroy
# File lib/caravan/deploy_methods/shell.rb, line 28 def before_destroy super do Caravan::Message.info("Deployer destroyed") end end
run()
click to toggle source
Calls superclass method
Caravan::Deploy::Base#run
# File lib/caravan/deploy_methods/shell.rb, line 16 def run super do |s, d| Caravan::Command.run("cp -r #{s} #{d}", @debug) end end