mirror of
https://github.com/chenasraf/vim-matchup.git
synced 2026-05-17 17:38:01 +00:00
Add vader new test shim
Install vader properly
This commit is contained in:
@@ -9,6 +9,7 @@ stages:
|
||||
- apk add curl git bash make
|
||||
- apk add build-base neovim python3
|
||||
- curl -sSL https://bootstrap.pypa.io/get-pip.py | python3
|
||||
- git clone --depth=1 https://github.com/junegunn/vader.vim.git ./test/vader/vader.vim
|
||||
|
||||
test-latest:
|
||||
stage: test
|
||||
|
||||
15
test/new/test-vader/Makefile
Normal file
15
test/new/test-vader/Makefile
Normal file
@@ -0,0 +1,15 @@
|
||||
.PHONY: test
|
||||
|
||||
MYVIM ?= nvim --headless
|
||||
|
||||
INMAKE := 1
|
||||
export INMAKE
|
||||
|
||||
VADER_DIR := ../../vader
|
||||
TESTS := $(wildcard $(VADER_DIR)/*.vader)
|
||||
TESTS := $(TESTS:.vader=)
|
||||
|
||||
test: $(TESTS)
|
||||
|
||||
$(VADER_DIR)/%: $(VADER_DIR)/%.vader
|
||||
$(MYVIM) -u $(VADER_DIR)/minvimrc +Vader! $<
|
||||
Reference in New Issue
Block a user