Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion example/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ RUN install_vim -name vim-precise -tag v7.3.429 -build \
-name vim-trusty -tag v7.4.052 -build \
-name vim-vivid -tag v7.4.488 -build \
-name vim-wily -tag v7.4.712 -build \
-name vim-xenial -tag v7.4.963 -build \
-name vim-xenial -tag v7.4.963 -build
6 changes: 4 additions & 2 deletions example/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
IMAGE ?= tweekmonster/ubuntu-vims
PLUGINS = test/plugins
DOCKER = docker run -it --rm -v $(PWD):/testplugin -v $(PWD)/test:/home "$(IMAGE)"
DOCKER = docker run -a stderr --rm -v $(PWD):/testplugin -v $(PWD)/test:/home "$(IMAGE)"

$(PLUGINS)/vader.vim:
mkdir -p $(PLUGINS)
Expand All @@ -10,7 +10,9 @@ test-setup: $(PLUGINS)/vader.vim
docker images -q $(IMAGE) || docker pull $(IMAGE)

test: test-setup
for vim in $$(docker run --rm $(IMAGE) ls /vim-build/bin | grep -E '^n?vim'); do \
vims=$$(docker run --rm $(IMAGE) ls /vim-build/bin | grep -E '^n?vim'); \
if [ -z "$$vims" ]; then echo "No Vims found!"; exit 1; fi; \
for vim in $$vims; do \
$(DOCKER) $$vim '+Vader! test/*'; \
done

Expand Down