From 2ce3a15bb7efeb67f39d1ea6aae043945c0d2865 Mon Sep 17 00:00:00 2001 From: David Dollar Date: Wed, 23 Jun 2010 19:01:54 -0400 Subject: [PATCH] dont die if there are no docs to commit --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 2bad3cf..9922397 100644 --- a/Rakefile +++ b/Rakefile @@ -31,7 +31,7 @@ task :man do sh "ronn -w -s toc -r5 --markdown man/*.ronn" sh "cp man/foreman.1.markdown README.markdown" sh "git add README.markdown" - sh "git commit -m 'update readme'" + sh "git commit -m 'update readme' || echo 'nothing to commit'" end task :pages => :man do