commit | author | age
|
919581
|
1 |
vim9script |
KM |
2 |
if exists("g:current_compiler") |
|
3 |
finish |
|
4 |
endif |
|
5 |
|
|
6 |
g:current_compiler = "clojure-test" |
|
7 |
|
|
8 |
if exists(":CompilerSet") != 2 |
|
9 |
command -nargs=* CompilerSet setlocal <args> |
|
10 |
endif |
|
11 |
|
b9eb2d
|
12 |
var clojure_test_deps = "'{:aliases {:clojure-test-vim {:extra-paths [\".cache/classes\"] :extra-deps {mrroman/clojure-test.vim {:local/root \"" .. expand('<sfile>:p:h:h') .. "/clojure\"}}}}}'" |
919581
|
13 |
|
9ae31a
|
14 |
execute 'CompilerSet makeprg=clojure\ -Sdeps\ ' .. escape(clojure_test_deps, ' \|"') .. '\ -Mtest:clojure-test-vim\ --report\ stderr\ -m\ test-runner\ -test-file' |
2c210a
|
15 |
CompilerSet errorformat=%EERROR:%f:%l:%m,%CERROR-CONTINUE:%m,%WFAIL:%f:%l:%m,%CFAIL-CONTINUE:%m |