File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -4,4 +4,4 @@ RUN install_vim -name vim-precise -tag v7.3.429 -build \
44 -name vim-trusty -tag v7.4.052 -build \
55 -name vim-vivid -tag v7.4.488 -build \
66 -name vim-wily -tag v7.4.712 -build \
7- -name vim-xenial -tag v7.4.963 -build \
7+ -name vim-xenial -tag v7.4.963 -build
Original file line number Diff line number Diff line change 11IMAGE ?= tweekmonster/ubuntu-vims
22PLUGINS = test/plugins
3- DOCKER = docker run -it --rm -v $(PWD ) :/testplugin -v $(PWD ) /test:/home "$(IMAGE ) "
3+ DOCKER = docker run -a stderr --rm -v $(PWD ) :/testplugin -v $(PWD ) /test:/home "$(IMAGE ) "
44
55$(PLUGINS ) /vader.vim :
66 mkdir -p $(PLUGINS )
@@ -10,7 +10,9 @@ test-setup: $(PLUGINS)/vader.vim
1010 docker images -q $(IMAGE ) || docker pull $(IMAGE )
1111
1212test : test-setup
13- for vim in $$ (docker run --rm $( IMAGE) ls /vim-build/bin | grep -E ' ^n?vim' ); do \
13+ vims=$$(docker run --rm $(IMAGE ) ls /vim-build/bin | grep -E '^n?vim' ) ; \
14+ if [ -z " $$ vims" ]; then echo " No Vims found!" ; exit 1; fi ; \
15+ for vim in $$ vims; do \
1416 $(DOCKER ) $$ vim ' +Vader! test/*' ; \
1517 done
1618
You can’t perform that action at this time.
0 commit comments