2017-10-05 06:21:24 +08:00
|
|
|
test: build/vader | build
|
|
|
|
vim -Nu test/vimrc -c 'Vader! test/**'
|
|
|
|
|
2017-10-05 06:47:29 +08:00
|
|
|
test_coverage: build/covimerage build/vader | build
|
|
|
|
build/covimerage/bin/covimerage run vim -Nu test/vimrc -c 'Vader! test/**'
|
|
|
|
|
|
|
|
build/covimerage:
|
|
|
|
virtualenv $@
|
2017-10-06 06:32:57 +08:00
|
|
|
. $@/bin/activate && pip install --no-cache-dir https://github.com/Vimjas/covimerage/archive/develop.zip
|
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
|