summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-10-19 21:13:53 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-10-20 17:01:17 +0200
commitaf1922a8bdaea97db2ed9405ef7d5e666f253f72 (patch)
tree60a8a9a4f08bab68148be7e9caa81a8edd7aea65 /Rakefile
parentfcb0fef62096bd8d64383f5bbfa584ce77f40fd8 (diff)
downloadbundler-af1922a8bdaea97db2ed9405ef7d5e666f253f72.tar.gz
Document man:{build,check} tasks when ronn not installed
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index abe046514d..5fe293a863 100644
--- a/Rakefile
+++ b/Rakefile
@@ -130,7 +130,10 @@ namespace :man do
begin
Spec::Rubygems.gem_require("ronn")
rescue Gem::LoadError => e
+ desc "Build the man pages"
task(:build) { abort "We couln't activate ronn (#{e.requirement}). Try `gem install ronn:'#{e.requirement}'` to be able to build the help pages" }
+
+ desc "Verify man pages are in sync"
task(:check) { abort "We couln't activate ronn (#{e.requirement}). Try `gem install ronn:'#{e.requirement}'` to be able to build the help pages" }
else
directory "man"