diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-08-12 16:40:29 +0200 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-08-12 16:40:29 +0200 |
commit | c2fc2081d3a134d10ec91cb7fdb07b5e1343aec3 (patch) | |
tree | 475dc80d019d322af403d05a5a81069dc6977a0d /Rakefile | |
parent | 180d087da5ad4f32b4f7b411d9b0e8c3644fb6e6 (diff) | |
download | bundler-c2fc2081d3a134d10ec91cb7fdb07b5e1343aec3.tar.gz |
Ignore whitespace when checking docsfix_man_check
Different versions of `groff` seem to generate slight differences in
whitespace. It is too much burden for contributors in my opinion to make
them install the exact groff version CI is running, and whitespace
amount in man pages doesn't seem to change the rendered output anyways,
so it should be good I think.
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -233,13 +233,13 @@ namespace :man do desc "Verify man pages are in sync" task :check => :build do - sh("git diff --quiet man") do |outcome, _| + sh("git diff --quiet --ignore-all-space man") do |outcome, _| if outcome puts puts "Manpages are in sync!" puts else - sh("GIT_PAGER=cat git diff man") + sh("GIT_PAGER=cat git diff --ignore-all-space man") puts puts "Man pages are out of sync. Above you can see the diff that got generated from rebuilding them. Please review and commit the results." |