Closed mattpolito closed 10 years ago
How about something like this?
Paratrooper::Deploy.new('amazing-app') do |deploy|
deploy.add_callback(:before_setup) do |output|
output.puts("Disabling newrelic ping")
# code to disable new relic
output.puts("Yep, done did that!")
end
end
@mwoods79 Thats pretty much the same as what @bthesorceror were discussing so that will probably be it. Previous screen notification will probably need to change a bit though. Thanks for the input.
When defining a custom callback like so:
There should be the ability to add in a screen notification of what is happening.
Maybe something like:
Thoughts?