Add ALE to the Vim runtimepath in the Docker image so it can run tests.

This commit is contained in:
w0rp 2016-10-12 23:17:09 +01:00
parent 037b703682
commit 7287943473
2 changed files with 7 additions and 4 deletions

View File

@ -1,5 +1,5 @@
IMAGE ?= w0rp/ale IMAGE ?= w0rp/ale
DOCKER = docker run -a stderr --rm -v $(PWD):/testplugin -v $(PWD)/test:/home "$(IMAGE)" DOCKER = docker run -a stderr --rm -v $(PWD):/testplugin -v $(PWD)/test:/home -v ${PWD}:/home/ale "$(IMAGE)"
test-setup: test-setup:
docker images -q $(IMAGE) || docker pull $(IMAGE) docker images -q $(IMAGE) || docker pull $(IMAGE)

View File

@ -1,7 +1,10 @@
" vint: -ProhibitSetNoCompatible
" Load builtin plugins " Load builtin plugins
" We need this because run_vim.sh sets -i NONE " We need this because run_vim.sh sets -i NONE
set rtp=/home/vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,/home/vim/after set runtimepath=/home/vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,/home/vim/after
set rtp+=/vader set runtimepath+=/home/ale
set runtimepath+=/vader
" The following is just an example " The following is just an example
filetype plugin indent on filetype plugin indent on
@ -18,4 +21,4 @@ set foldlevelstart=10
set foldnestmax=10 set foldnestmax=10
set ttimeoutlen=0 set ttimeoutlen=0
let mapleader=',' let g:mapleader=','