effkay / blazing

painless git push deployments for everyone
MIT License
80 stars 12 forks source link

Provide hooks for setup, before bundling, after bundling (default) #34

Open effkay opened 12 years ago

effkay commented 12 years ago

e.g

effkay commented 12 years ago

setup:remote is now setup

effkay commented 12 years ago

Further thoughts for distinguishing recipe types:

Each Recipe may have code run in any of the 4 steps.

manufaktor commented 12 years ago

Proposal for hooking into blazing's various execution points


Blazing::ExecutionPoints.before :reset do
  # do stuff
end

Blazing::ExecutionPoint.after 'blazing.bundle' do
  # do stuff
end

Blazing::ExecutionPoints.after 'blazing.teardown' do
  # do stuff
end

Blazing::ExecutionPoints.after 'rake' do
  # do stuff
end