summaryrefslogtreecommitdiffstats
path: root/scripts/build
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-08-24 12:37:31 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-08-24 12:37:31 +0200
commit8f5134aef8c4162235892d87407275f447e54e40 (patch)
tree1a69b34bcbe28d2a2cf62805c11ac7b48420da9d /scripts/build
parentbe8d039e02e4e4219639935aafa1194932e980e7 (diff)
downloadvim-polyglot-8f5134aef8c4162235892d87407275f447e54e40.tar.gz
vim-polyglot-8f5134aef8c4162235892d87407275f447e54e40.zip
Include docs of plugins
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build b/scripts/build
index 54285bfe..099dc616 100755
--- a/scripts/build
+++ b/scripts/build
@@ -14,7 +14,7 @@ PACKAGES = YAML.load_stream(File.read('packages.yaml'))
BASE_URL = 'https://raw.githubusercontent.com/github/linguist/master'
DIRS = {
- default: %w(syntax indent compiler autoload ftplugin ctags after/syntax after/indent after/ftplugin),
+ default: %w(syntax indent doc compiler autoload ftplugin ctags after/syntax after/indent after/ftplugin),
all: %w(syntax indent compiler autoload ftplugin after extras ctags),
syntax: %w(syntax indent after/syntax after/indent)
}
@@ -99,7 +99,7 @@ def parse_remote(remote)
end
def copy_file(package, src, dest)
- return unless [".vim", ".ctags", ".vital"].include?(File.extname(src))
+ return unless [".vim", ".ctags", ".vital", ".txt"].include?(File.extname(src))
FileUtils.mkdir_p(File.dirname(dest))
name = package.fetch("name")