From af1922a8bdaea97db2ed9405ef7d5e666f253f72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Sat, 19 Oct 2019 21:13:53 +0200 Subject: Document man:{build,check} tasks when ronn not installed --- Rakefile | 3 +++ 1 file changed, 3 insertions(+) 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" -- cgit v1.2.1