diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2014-08-13 00:55:50 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2014-08-13 00:55:50 +0200 |
commit | 964107c604a3dc559c30febfe2a08be31659170d (patch) | |
tree | b4a8eea9167566ac207604e973fd907e5bcdb7f2 /build | |
parent | c0560d6199fe261dfd1aca6310558dc82f759fe3 (diff) | |
download | vim-polyglot-1.10.0.tar.gz vim-polyglot-1.10.0.zip |
Switch to official go package, closes #28v1.10.0
Diffstat (limited to 'build')
-rwxr-xr-x | build | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -3,6 +3,7 @@ set -E DIRS="syntax indent compiler autoload ftplugin ftdetect after/syntax after/indent after/ftplugin after/ftdetect" +DIRS_BASIC="syntax indent ftdetect after/syntax after/indent after/ftdetect" download() { for pack in $1; do @@ -21,10 +22,11 @@ extract() { name="$(printf "$pack" | cut -d ':' -f 1)" path="$(printf "$pack" | cut -d ':' -f 2)" dir="tmp/$(printf "$path" | cut -d '/' -f 2)" + directories="DIRS$(printf "$pack" | cut -d ':' -f 3)" printf -- "- [$name](https://github.com/$path) (" subdirs="" - for subdir in $DIRS; do + for subdir in ${!directories}; do if [ -d "$dir/$subdir" ]; then base="$(basename "$subdir")" if [[ "$subdirs" != *"$base"* ]]; then @@ -82,7 +84,7 @@ PACKS=" emblem:heartsentwined/vim-emblem erlang:oscarh/vimerl git:tpope/vim-git - go:jnwhiteh/vim-golang + go:fatih/vim-go:_BASIC haml:tpope/vim-haml handlebars:mustache/vim-mustache-handlebars haskell:travitch/hasksyn |