2017-12-13 09:05:24 -05:00
|
|
|
VIMS ?= vim-7.4 vim-8.0 nvim
|
|
|
|
|
2017-11-24 08:54:40 -05:00
|
|
|
all: install test lint
|
|
|
|
|
|
|
|
install:
|
2017-12-13 09:05:24 -05:00
|
|
|
@echo "==> Installing Vims: $(VIMS)"
|
|
|
|
@for vim in $(VIMS); do \
|
|
|
|
./scripts/install-vim $$vim; \
|
|
|
|
done
|
2017-02-11 08:01:38 -05:00
|
|
|
|
|
|
|
test:
|
2017-12-13 09:05:24 -05:00
|
|
|
@echo "==> Running tests for $(VIMS)"
|
|
|
|
@for vim in $(VIMS); do \
|
|
|
|
./scripts/test $$vim; \
|
|
|
|
done
|
2017-11-24 08:54:40 -05:00
|
|
|
|
|
|
|
lint:
|
|
|
|
@echo "==> Running linting tools"
|
|
|
|
@./scripts/lint vim-8.0
|
|
|
|
|
|
|
|
docker:
|
|
|
|
@echo "==> Building/starting Docker container"
|
|
|
|
@./scripts/docker-test
|
|
|
|
|
|
|
|
clean:
|
|
|
|
@echo "==> Cleaning /tmp/vim-go-test"
|
|
|
|
@rm -rf /tmp/vim-go-test
|
|
|
|
|
|
|
|
.PHONY: all test install clean lint docker
|