Permalink
Browse files

pages

  • Loading branch information...
1 parent 6f6ebaa commit 8b0e36f13f1606263b78554aa772a540576ac96a @defunkt defunkt committed Dec 12, 2009
Showing with 11 additions and 0 deletions.
  1. +11 −0 Rakefile
View
11 Rakefile
@@ -46,3 +46,14 @@ task :publish => [ :gemspec, :build ] do
git "clean -fd"
exec "rake pages"
end
+
+desc "Publish to GitHub Pages"
+task :pages => [ :build_man ] do
+ cp "man/repl.1.html", "html"
+ git "checkout gh-pages"
+ mv "html", "index.html"
+ git "commit -a -m 'update docs'"
+ git "push origin gh-pages"
+ git "checkout master"
+ puts :done
+end

0 comments on commit 8b0e36f

Please sign in to comment.