mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 22:20:06 +08:00
Makefile: fix covimerage integration: use installed
This commit is contained in:
parent
65ba9b4dc4
commit
e5c3c6e6fa
4
Makefile
4
Makefile
@ -1,6 +1,6 @@
|
||||
DOCKER = docker run -it --rm -v $(PWD):/testplugin -v $(PWD)/test:/test -v $(PWD)/build:/build "spacevim/vims"
|
||||
|
||||
ifeq ($(VIM),nvim)
|
||||
ifeq ($(VIM),nvim)
|
||||
DEFAULT_VIM:=$(DOCKER) neovim-stable
|
||||
else
|
||||
DEFAULT_VIM:=$(DOCKER) vim8
|
||||
@ -9,7 +9,7 @@ endif
|
||||
test: build/vader | build
|
||||
$(DEFAULT_VIM) -Nu test/vimrc -c 'Vader! test/**'
|
||||
|
||||
COVIMERAGE=$(shell command -v ccovimerage 2>/dev/null || echo build/covimerage/bin/covimerage)
|
||||
COVIMERAGE=$(shell command -v covimerage 2>/dev/null || echo build/covimerage/bin/covimerage)
|
||||
|
||||
test_coverage: $(COVIMERAGE) build/vader | build
|
||||
$(COVIMERAGE) run $(DEFAULT_VIM) -Nu test/vimrc -c 'Vader! test/**'
|
||||
|
Loading…
Reference in New Issue
Block a user