diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2015-11-26 21:06:46 +0900 |
---|---|---|
committer | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2015-11-26 21:06:46 +0900 |
commit | 7cf378d5183b93bd429665b0b27eeec5cc304a1a (patch) | |
tree | 2ce0796d7eb9f702e689a8a32440b151c8d25cc3 /Makefile | |
parent | 009c52224dffdd0c8491909d6c1c2d4893197a02 (diff) | |
download | deoplete.nvim-7cf378d5183b93bd429665b0b27eeec5cc304a1a.zip |
Improve tests
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..aaa15a1 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +test: vim-themis + vim-themis/bin/themis --reporter spec test + +# Use existing vim-themis install from ~/.vim, or clone it. +vim-themis: + existing=$(firstword $(wildcard ~/.vim/*bundle*/*themis*/plugin/themis.vim)); \ + if [ -n "$$existing" ]; then \ + ( cd test && ln -s $$(dirname $$(dirname $$existing)) vim-themis ); \ + else \ + git clone https://github.com/thinca/vim-themis vim-themis; \ + fi + +.PHONY: test |