summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-06-04 16:38:20 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-06-04 16:38:20 +0200
commitf72642612b6f32fb7c0d708bde323f825b635d11 (patch)
treece29b40c259ebdd42094f240a1c1194ccb4e283b
parent8dd59e3ba97eb80a599f8149f31bf40773b69dc0 (diff)
downloadbundler-fix_man_clobber.tar.gz
Remove incorrect `man:clobber` taskfix_man_clobber
And move its description on top of the correct task, `man:build`, so that it appears under `bin/rake -T`.
-rw-r--r--Rakefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/Rakefile b/Rakefile
index c9835b1333..00b64638a9 100644
--- a/Rakefile
+++ b/Rakefile
@@ -242,6 +242,7 @@ namespace :man do
end
task :build_all_pages => "index.txt"
+ desc "Remove all built man pages"
task :clean do
leftovers = Dir["man/*"].reject do |f|
File.extname(f) == ".ronn"
@@ -251,11 +252,6 @@ namespace :man do
desc "Build the man pages"
task :build => ["man:clean", "man:build_all_pages"]
-
- desc "Remove all built man pages"
- task :clobber do
- rm_rf "lib/bundler/man"
- end
end
end
end