From 2ee1cfc03c9e08aef0fbad0679f24e719f433071 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Thu, 7 May 2015 17:57:28 -0300 Subject: [PATCH] Add task to build docs from the top level --- Rakefile | 2 ++ tasks/doc.rake | 4 ++++ 2 files changed, 6 insertions(+), 0 deletions(-) create mode 100644 tasks/doc.rake diff --git a/Rakefile b/Rakefile index 9d12c0f..8865f91 100644 --- a/Rakefile +++ b/Rakefile @@ -98,3 +98,5 @@ task :preconfig => ssh_config_file do end end end + +Dir.glob('tasks/*.rake').each { |f| load f } diff --git a/tasks/doc.rake b/tasks/doc.rake new file mode 100644 index 0000000..643bf55 --- /dev/null +++ b/tasks/doc.rake @@ -0,0 +1,4 @@ +desc 'Builds documentation' +task :doc do + sh 'make -C docs/ html' +end -- libgit2 0.21.2