diff options
author | Colby Dehart <colbydehart@gmail.com> | 2018-06-01 11:56:47 -0400 |
---|---|---|
committer | Colby Dehart <colbydehart@gmail.com> | 2018-06-01 11:56:47 -0400 |
commit | d760558007631294673171451f72fc4c2f5a89a7 (patch) | |
tree | 2aa8c33ba8602e3e8866ba5f295a6655fbd389be /ale_linters/elixir/mix.vim | |
parent | 801c12a8813deb6ab20107fe8de979b86297b536 (diff) | |
download | ale-d760558007631294673171451f72fc4c2f5a89a7.zip |
added mix build path env var to the mix compile
Diffstat (limited to 'ale_linters/elixir/mix.vim')
-rw-r--r-- | ale_linters/elixir/mix.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/elixir/mix.vim b/ale_linters/elixir/mix.vim index 41cd18a0..d31dbb28 100644 --- a/ale_linters/elixir/mix.vim +++ b/ale_linters/elixir/mix.vim @@ -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', { |