Ignore compiler for javascript, fixes #521

This commit is contained in:
Adam Stankiewicz
2020-08-24 10:29:39 +02:00
parent 22e8e01c1e
commit d1bfe50419
4 changed files with 15 additions and 27 deletions

View File

@@ -158,7 +158,10 @@ def extract
repo, branch, path = parse_remote(package["remote"])
dir = "tmp/" + repo.split('/')[1]
subdirs = []
for subdir in DIRS.fetch(package.fetch("dirs", "default").to_sym)
dirs = DIRS.fetch(package.fetch("dirs", "default").to_sym)
dirs -= package.fetch("ignored_dirs", [])
dirs |= package.fetch("extra_dirs", [])
for subdir in dirs
subtree = "#{dir}/#{path ? path + "/" : ""}"
subpath = "#{subtree}#{subdir}"
if FileTest.directory?(subpath)
@@ -307,8 +310,8 @@ def generate_ftdetect
File.write('ftdetect/polyglot.vim', output)
end
# download
# extract
download
extract
generate_ftdetect
# puts(" Bye! Have a wonderful time!")
# FileUtils.rm_rf("tmp")
puts(" Bye! Have a wonderful time!")
FileUtils.rm_rf("tmp")