Simplify list of packages

This commit is contained in:
Adam Stankiewicz
2020-10-06 19:00:11 +02:00
parent bc9757916e
commit a96c420e14
2 changed files with 6 additions and 437 deletions

View File

@@ -481,6 +481,9 @@ def extract(packages)
end
end
if repo.include?("vim/vim")
next
end
if branch != "master" || path
if path
output << "- [#{package["name"]}](https://github.com/#{repo}/tree/#{branch}/#{path})"
@@ -497,7 +500,7 @@ def extract(packages)
readme.gsub!(
%r{(?<=<!--Package Count-->).*?(?=<!--/Package Count-->)},
output.size.to_s
packages.size.to_s
)
readme.gsub!(