let g:repo_root = fnamemodify(expand('<sfile>'), ':h:h')

call themis#option('exclude', g:repo_root . '/test/README.md')
call themis#option('exclude', g:repo_root . '/test/.coveragerc')
call themis#option('exclude', g:repo_root . '/test/Guardfile')
call themis#helper('command').with(themis#helper('assert'))

if $PROFILE_LOG !=# ''
    execute 'profile' 'start' $PROFILE_LOG
    execute 'profile!' 'file' g:repo_root . '/autoload/clever_f.vim'
    execute 'profile!' 'file' g:repo_root . '/autoload/clever_f/helper.vim'
    execute 'profile!' 'file' g:repo_root . '/plugin/*'
endif

call themis#option('runtimepath', expand(g:repo_root))
