dont die if there are no docs to commit

This commit is contained in:
David Dollar
2010-06-23 19:01:54 -04:00
parent f960277ae8
commit 2ce3a15bb7

View File

@@ -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