2019-11-16 10:28:42 -05:00
|
|
|
VIMS ?= vim-8.0 nvim
|
2017-12-13 09:05:24 -05:00
|
|
|
|
2019-03-27 11:08:56 -04:00
|
|
|
all: install lint test
|
2017-11-24 08:54:40 -05:00
|
|
|
|
|
|
|
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
|