annotate update-vendor @ 577:28bd58aaa0ab

Buffer in vim?
author nanaya <me@myconan.net>
date Sun, 11 Oct 2015 02:27:48 +0900
parents a163d6875651
children 184635b813e1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
508
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
1 #!/bin/sh
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
2
572
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
3 set -u
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
4 set -e
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
5
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
6
508
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
7 if [ ! command -v wget > /dev/null 2>&1 ]; then
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
8 echo wget is required
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
9 exit 1
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
10 fi
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
11
572
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
12
508
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
13 _get() {
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
14 wget --no-check-certificate -nv "$1"
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
15 }
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
16
572
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
17
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
18 (
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
19 cd "$(dirname "$0")/vendor/vim-autoload"
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
20
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
21 rm -f *.vim
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
22 _get "https://raw.githubusercontent.com/tpope/vim-pathogen/master/autoload/pathogen.vim"
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
23 )
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
24
508
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
25
572
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
26 (
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
27 cd "$(dirname "$0")/vendor/vim-syntax"
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
28
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
29 rm -f *.vim
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
30 _get https://vim.googlecode.com/hg/runtime/syntax/ruby.vim
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
31 _get https://vim.googlecode.com/hg/runtime/syntax/eruby.vim
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
32 _get https://vim.googlecode.com/hg/runtime/syntax/scss.vim
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
33 _get https://github.com/kchmck/vim-coffee-script/raw/master/syntax/coffee.vim
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
34 _get https://github.com/slim-template/vim-slim/raw/master/syntax/slim.vim
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
35 _get https://github.com/elzr/vim-json/raw/master/syntax/json.vim
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
36 _get https://raw.githubusercontent.com/xsbeats/vim-blade/master/syntax/blade.vim
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
37 _get https://raw.githubusercontent.com/groenewege/vim-less/master/syntax/less.vim
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
38 )