diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2020-10-06 19:00:11 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-10-06 19:00:11 +0200 |
commit | a96c420e14becb9be406fe9991c9e1ace868ba56 (patch) | |
tree | 3bd50d8d37219c5b726a8ce7b771f7b37d8919e8 /scripts | |
parent | bc9757916ed09763d96283ee62dbed58bd713a11 (diff) | |
download | vim-polyglot-a96c420e14becb9be406fe9991c9e1ace868ba56.tar.gz vim-polyglot-a96c420e14becb9be406fe9991c9e1ace868ba56.zip |
Simplify list of packages
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/build b/scripts/build index deee269e..c5141d41 100755 --- a/scripts/build +++ b/scripts/build @@ -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!( |