diff options
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 |