Permalink
Browse files

Fix tasks file name in the Readme, make Rake be quiet.

  • Loading branch information...
1 parent 6314884 commit 356f6d06a58a3464629bc0c8f3077da3b137c210 @jbarnette committed Aug 20, 2009
Showing with 4 additions and 4 deletions.
  1. +3 −3 README.rdoc
  2. +1 −1 lib/hooky/tasks.rb
View
@@ -2,9 +2,9 @@
* http://github.com/jbarnette/hooky
-== Description FIX
+== Description
-Hooky lets you write Git repository hooks with Rake.
+FIX: Hooky lets you write Git repository hooks with Rake.
Check the Git docs
(http://www.kernel.org/pub/software/scm/git/docs/githooks.html) for
@@ -13,7 +13,7 @@ more information on hooks.
== Examples
# in your Rakefile
- require "hooky/rake"
+ require "hooky/tasks"
task "hooky:post-checkout" do |_, args|
if args[:branch]
View
@@ -18,7 +18,7 @@
f.puts "#!/bin/sh"
f.puts "export HOOK=$0"
f.puts "export HOOK_ARGS=$@"
- f.puts "rake hooky"
+ f.puts "rake -s hooky"
end
sh "chmod +x #{task.name}"

0 comments on commit 356f6d0

Please sign in to comment.