diff options
author | Bundlerbot <bot@bundler.io> | 2019-06-08 17:37:22 +0000 |
---|---|---|
committer | Bundlerbot <bot@bundler.io> | 2019-06-08 17:37:22 +0000 |
commit | ac832fe4496e75ac69ce57b582f2c267502f0552 (patch) | |
tree | efd0fb23b905e27b62cbdd40c0bb147786a7be69 | |
parent | 5e989c1e365fd76b1fd36421a740cd67e2913949 (diff) | |
parent | f72642612b6f32fb7c0d708bde323f825b635d11 (diff) | |
download | bundler-ac832fe4496e75ac69ce57b582f2c267502f0552.tar.gz |
Merge #7190
7190: Remove incorrect `man:clobber` task r=deivid-rodriguez a=deivid-rodriguez
### What was the end-user problem that led to this PR?
The problem was that `man:clobber` was listed under `bin/rake -T` but it wasn't working because it was trying to remove a non existent folder.
### What was your diagnosis of the problem?
My diagnosis was that the correct task is actually `bin/rake man:clean`.
### What is your fix for the problem, implemented in this PR?
My fix is to remove `man:clobber` and move its description on top of `man:clean`, so that it's correctly listed under `bin/rake -T`.
Co-authored-by: David RodrÃguez <deivid.rodriguez@riseup.net>
-rw-r--r-- | Rakefile | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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 |