Skip to content

Commit

Permalink
dev: update check_manifest list and sort output
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed Dec 16, 2021
1 parent 016070f commit dab3877
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions rakelib/check-manifest.rake
Expand Up @@ -18,6 +18,7 @@ task :check_manifest do
coverage
doc
gems
misc
nokogumbo-import
oci-images
patches
Expand All @@ -38,6 +39,8 @@ task :check_manifest do
.gitignore
.gitmodules
.yardopts
.rubocop.yml
.rubocop_todo.yml
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
Expand Down Expand Up @@ -76,10 +79,10 @@ task :check_manifest do

unless missing_files.empty?
puts "missing:"
missing_files.each { |f| puts "- #{f}" }
missing_files.sort.each { |f| puts "- #{f}" }
end
unless extra_files.empty?
puts "unexpected:"
extra_files.each { |f| puts "+ #{f}" }
extra_files.sort.each { |f| puts "+ #{f}" }
end
end

0 comments on commit dab3877

Please sign in to comment.