I broke up with neovim....vim is my best friend now
This commit is contained in:
24
dot_vim/plugged/vimtex/test/test-cache/Makefile
Normal file
24
dot_vim/plugged/vimtex/test/test-cache/Makefile
Normal file
@@ -0,0 +1,24 @@
|
||||
MYVIM ?= nvim --clean --headless
|
||||
|
||||
INMAKE := 1
|
||||
export INMAKE
|
||||
|
||||
TESTS := $(wildcard test-*.vim)
|
||||
TESTS := $(TESTS:.vim=)
|
||||
TESTS_KPSEWHICH := test-kpsewhich-local-a test-kpsewhich-local-b
|
||||
TESTS_ALL := $(TESTS) $(TESTS_KPSEWHICH)
|
||||
|
||||
.PHONY: test $(TESTS_ALL) test-cleanup
|
||||
|
||||
test: $(TESTS_ALL) test-cleanup
|
||||
|
||||
$(TESTS):
|
||||
@$(MYVIM) -u $@.vim
|
||||
|
||||
$(TESTS_KPSEWHICH):
|
||||
@cd $@ && $(MYVIM) -u test.vim
|
||||
|
||||
test-cleanup: $(TESTS_ALL)
|
||||
@rm kpsewhich.json
|
||||
@rm capture.json
|
||||
@rm -f nvim_servernames.log
|
||||
Reference in New Issue
Block a user