1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 07:00:04 +08:00
SpaceVim/bundle/ChineseLinter.vim/Makefile
Eric Wong 13f564b23a chore(chinese): use bundle ChineseLinter
update to d819606eebc82dad34b2a9b7b1a861844380df84
2024-03-05 12:56:14 +08:00

27 lines
619 B
Makefile

test: build/vader | build
nvim -Nu test/vimrc -c 'Vader! test/**'
test_show: build/vader | build
nvim -Nu test/vimrc -c 'Vader test/**'
COVIMERAGE=$(shell command -v covimerage 2>/dev/null || echo build/covimerage/bin/covimerage)
test_coverage: $(COVIMERAGE) build/vader | build
$(COVIMERAGE) run nvim -Nu test/vimrc -c 'Vader! test/**'
build/covimerage:
virtualenv $@
build/covimerage/bin/covimerage: | build/covimerage
build/covimerage/bin/pip install covimerage
build/vader:
git clone --depth 1 https://github.com/junegunn/vader.vim.git $@
build:
mkdir -p $@
clean:
$(RM) -r build
.PHONY: clean test