annotate update-vendor @ 632:c950f0ef2268

Apparently better use githubusercontent? Also sort.
author nanaya <me@nanaya.pro>
date Fri, 18 Oct 2019 15:49:35 +0900
parents 7a19b1357209
children ced2ee9efd9f
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
578
184635b813e1 Whoops, has been using wrong syntax
nanaya <me@myconan.net>
parents: 572
diff changeset
7 if command -v wget > /dev/null 2>&1; then :
184635b813e1 Whoops, has been using wrong syntax
nanaya <me@myconan.net>
parents: 572
diff changeset
8 else
508
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
9 echo wget is required
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
10 exit 1
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
11 fi
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
12
572
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
13
508
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
14 _get() {
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
15 wget --no-check-certificate -nv "$1"
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
16 }
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
17
572
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
18
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
19 (
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
20 cd "$(dirname "$0")/vendor/vim-autoload"
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
21
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
22 rm -f *.vim
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
23 _get "https://raw.githubusercontent.com/tpope/vim-pathogen/master/autoload/pathogen.vim"
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
24 )
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
25
508
bbcffc594d1e Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff changeset
26
572
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
27 (
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
28 cd "$(dirname "$0")/vendor/vim-syntax"
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
29
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
30 rm -f *.vim
623
0f0bdbd8d37d Update syntax files
nanaya <me@nanaya.pro>
parents: 621
diff changeset
31 _get https://hg.nginx.org/nginx/raw-file/tip/contrib/vim/syntax/nginx.vim
604
d4d316db35d7 Add latestest javascript
nanaya <me@nanaya.pro>
parents: 596
diff changeset
32 _get https://raw.githubusercontent.com/jelera/vim-javascript-syntax/master/syntax/javascript.vim
632
c950f0ef2268 Apparently better use githubusercontent?
nanaya <me@nanaya.pro>
parents: 631
diff changeset
33 _get https://raw.githubusercontent.com/jwalton512/vim-blade/master/syntax/blade.vim
c950f0ef2268 Apparently better use githubusercontent?
nanaya <me@nanaya.pro>
parents: 631
diff changeset
34 _get https://raw.githubusercontent.com/kchmck/vim-coffee-script/master/syntax/coffee.vim
c950f0ef2268 Apparently better use githubusercontent?
nanaya <me@nanaya.pro>
parents: 631
diff changeset
35 _get https://raw.githubusercontent.com/leafgarland/typescript-vim/master/syntax/typescript.vim
c950f0ef2268 Apparently better use githubusercontent?
nanaya <me@nanaya.pro>
parents: 631
diff changeset
36 _get https://raw.githubusercontent.com/peitalin/vim-jsx-typescript/master/after/syntax/tsx.vim
c950f0ef2268 Apparently better use githubusercontent?
nanaya <me@nanaya.pro>
parents: 631
diff changeset
37 _get https://raw.githubusercontent.com/slim-template/vim-slim/master/syntax/slim.vim
c950f0ef2268 Apparently better use githubusercontent?
nanaya <me@nanaya.pro>
parents: 631
diff changeset
38 _get https://raw.githubusercontent.com/vim/vim/master/runtime/syntax/eruby.vim
c950f0ef2268 Apparently better use githubusercontent?
nanaya <me@nanaya.pro>
parents: 631
diff changeset
39 _get https://raw.githubusercontent.com/vim/vim/master/runtime/syntax/json.vim
c950f0ef2268 Apparently better use githubusercontent?
nanaya <me@nanaya.pro>
parents: 631
diff changeset
40 _get https://raw.githubusercontent.com/vim/vim/master/runtime/syntax/less.vim
c950f0ef2268 Apparently better use githubusercontent?
nanaya <me@nanaya.pro>
parents: 631
diff changeset
41 _get https://raw.githubusercontent.com/vim/vim/master/runtime/syntax/ruby.vim
c950f0ef2268 Apparently better use githubusercontent?
nanaya <me@nanaya.pro>
parents: 631
diff changeset
42 _get https://raw.githubusercontent.com/vim/vim/master/runtime/syntax/scss.vim
572
a163d6875651 Vendor autoloads.
nanaya <me@myconan.net>
parents: 540
diff changeset
43 )