Skip to content

Commit

Permalink
man:build
Browse files Browse the repository at this point in the history
  • Loading branch information
defunkt committed Mar 9, 2010
1 parent 72c047d commit 41484ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ task :standalone => :load_hub do
end

desc "Build hub manual"
task :build_man do
task "man:build" do
sh "ron -br5 --organization=DEFUNKT --manual='Git Manual' man/*.ron"
end

desc "Show hub manual"
task :man => :build_man do
task :man => "man:build" do
exec "man man/hub.1"
end

Expand Down Expand Up @@ -109,7 +109,7 @@ task :publish => [ :test, :gemspec, :build ] do
end

desc "Publish to GitHub Pages"
task :pages => [ :build_man, :check_dirty, :standalone ] do
task :pages => [ "man:build", :check_dirty, :standalone ] do
cp "man/hub.1.html", "html"
sh "git checkout gh-pages"
sh "mv hub standalone"
Expand Down

0 comments on commit 41484ac

Please sign in to comment.