I broke up with neovim....vim is my best friend now
This commit is contained in:
23
dot_vim/plugged/vimtex/test/test-quickfix/Makefile
Normal file
23
dot_vim/plugged/vimtex/test/test-quickfix/Makefile
Normal file
@@ -0,0 +1,23 @@
|
||||
MYVIM ?= nvim --clean --headless
|
||||
|
||||
INMAKE := 1
|
||||
export INMAKE
|
||||
|
||||
TESTS := $(wildcard *.vim)
|
||||
TESTS := $(TESTS:.vim=)
|
||||
|
||||
.PHONY: test $(TESTS)
|
||||
|
||||
test: $(TESTS)
|
||||
|
||||
$(TESTS):
|
||||
@$(MYVIM) -u $@.vim
|
||||
|
||||
test-spaces: file\ with\ errors.log
|
||||
|
||||
file\ with\ errors.log: file\ with\ errors.tex input\ with\ spaces.tex
|
||||
@latexmk -file-line-error -interaction=nonstopmode -recorder -pdf \
|
||||
file\ with\ errors.tex >/dev/null 2>&1 || true
|
||||
@mv "$@" "$@.bak"
|
||||
@latexmk -C >/dev/null 2>&1
|
||||
@mv "$@.bak" "$@"
|
||||
Reference in New Issue
Block a user