Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Rake hooks let you add callbacks to rake tasks.
Ruby
Branch: master
Pull request Compare This branch is 1 commit ahead, 32 commits behind guillermo:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/rake
test
Gemfile.lock
LICENSE
README
Rakefile
rake-hooks.gemspec

README

# rake-hooks

Rake hooks let you add callbacks to rake:

## Usage

For example in your Rakefile

    require 'rake/hooks'
  
    task :say_hello do
      puts "Good Morning !"
    end
  
    after :say_hello do
      puts "GoodBye"
    end
  
    after :say_hello do
      puts "Now go to bed !"
    end
  
    before :say_hello do
      puts "Hi !"
    end
  
Now run with rake

    $ rake say_hello
    Hi !
    Good Morning !
    GoodBye
    Now go to bed !"
  
  
## Installation

With rubygems use:
    gem install rake-hooks

With other systems
  Add lib dir to load path.
  
## Author

Guillermo Álvarez <guillermo@cientifico.net>

## Web

http://github.com/guillermo/rake-hooks

## Date of writing 
  
22 Jul 2010
Something went wrong with that request. Please try again.