From 4741dceeb06608ae440931e44175b0dd17226f4a Mon Sep 17 00:00:00 2001 From: David Dollar Date: Wed, 23 Jun 2010 18:19:50 -0400 Subject: [PATCH] build man on release --- Rakefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Rakefile b/Rakefile index 5e525a5..3cc18e6 100644 --- a/Rakefile +++ b/Rakefile @@ -6,6 +6,7 @@ $:.unshift File.expand_path("../lib", __FILE__) require "foreman" task :default => :spec +task :release => :man desc "Run all specs" Rspec::Core::RakeTask.new(:spec) do |t| @@ -29,6 +30,8 @@ task :man do ENV['RONN_MANUAL'] = "Foreman Manual" ENV['RONN_ORGANIZATION'] = "Foreman #{Foreman::VERSION}" sh "ronn -w -s toc -r5 --markdown man/*.ronn" + sh "git add man/*.?" + sh "git commit -m \"updating man pages\"" end ######################################################