mirror of
https://github.com/dense-analysis/ale
synced 2024-12-25 07:32:24 +00:00
added mix build path env var to the mix compile
This commit is contained in:
parent
801c12a881
commit
d760558007
@ -31,7 +31,7 @@ endfunction
|
||||
|
||||
function! ale_linters#elixir#mix#Command(buffer) abort
|
||||
let l:project_dir = fnamemodify(ale#path#FindNearestFile(a:buffer, 'mix.exs'), ':h')
|
||||
return 'cd ' . l:project_dir . ' && mix compile %s'
|
||||
return 'cd ' . l:project_dir . ' && MIX_BUILD_PATH=/tmp/mix mix compile %s'
|
||||
endfunction
|
||||
|
||||
call ale#linter#Define('elixir', {
|
||||
|
Loading…
Reference in New Issue
Block a user