I broke up with neovim....vim is my best friend now
This commit is contained in:
27
dot_vim/plugged/vimtex/test/test-compiler/Makefile
Normal file
27
dot_vim/plugged/vimtex/test/test-compiler/Makefile
Normal file
@@ -0,0 +1,27 @@
|
||||
MYVIM ?= nvim --clean --headless
|
||||
|
||||
INMAKE := 1
|
||||
export INMAKE
|
||||
|
||||
TESTS := $(wildcard test*.vim)
|
||||
TESTS := $(filter-out test-backend,$(TESTS:.vim=))
|
||||
|
||||
.PHONY: test $(TESTS)
|
||||
|
||||
test: test-backend $(TESTS)
|
||||
|
||||
$(TESTS):
|
||||
@$(MYVIM) -u $@.vim
|
||||
|
||||
test-backend: latexrun
|
||||
@PATH=$$PATH:. chronic $(MYVIM) -u $@.vim
|
||||
@rm -f minimal.*
|
||||
@rm -f pdflatex*.fls
|
||||
@rm -f .latexrun.db.lock
|
||||
@rm -rf out
|
||||
|
||||
latexrun:
|
||||
@wget \
|
||||
https://raw.githubusercontent.com/aclements/latexrun/master/latexrun \
|
||||
>/dev/null 2>&1
|
||||
@chmod u+x latexrun
|
||||
Reference in New Issue
Block a user