1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:10:04 +08:00
SpaceVim/Makefile

24 lines
560 B
Makefile
Raw Normal View History

2017-10-05 06:21:24 +08:00
test: build/vader | build
vim -Nu test/vimrc -c 'Vader! test/**'
COVIMERAGE=$(shell command -v ccovimerage 2>/dev/null || echo build/covimerage/bin/covimerage)
test_coverage: $(COVIMERAGE) build/vader | build
$(COVIMERAGE) run vim -Nu test/vimrc -c 'Vader! test/**'
2017-10-05 06:47:29 +08:00
build/covimerage:
virtualenv $@
build/covimerage/bin/covimerage: | build/covimerage
. build/covimerage/bin/activate && pip install covimerage
2017-10-05 06:47:29 +08:00
2017-10-05 06:21:24 +08:00
build/vader:
git clone --depth 1 https://github.com/junegunn/vader.vim.git $@
build:
mkdir -p $@
2017-10-05 06:47:40 +08:00
clean:
$(RM) -r build
.PHONY: clean test