coverage: Measure more properly by invoking the measurements in a separate python file

This commit is contained in:
Tomas Babej 2015-04-04 11:27:54 +02:00
parent 98d8716192
commit 31f73086c9
3 changed files with 21 additions and 14 deletions

View file

@ -1,4 +1,9 @@
let s:plugin_path = escape(expand('<sfile>:p:h:h'), '\')
if exists("g:taskwiki_measure_coverage")
execute 'pyfile ' . s:plugin_path . '/taskwiki/coverage.py'
endif
execute 'pyfile ' . s:plugin_path . '/taskwiki/taskwiki.py'
augroup taskwiki