mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-10 06:21:53 +08:00
Merge pull request #1434 from roel0/master
Automatically determine build flags by parsing `make -n` output #1167
This commit is contained in:
@@ -30,10 +30,10 @@ Execute(The executable should be configurable):
|
||||
Execute(The executable should be used in the command):
|
||||
AssertEqual
|
||||
\ ale#Escape('clang') . b:command_tail,
|
||||
\ ale_linters#c#clang#GetCommand(bufnr(''))
|
||||
\ ale_linters#c#clang#GetCommand(bufnr(''), [])
|
||||
|
||||
let b:ale_c_clang_executable = 'foobar'
|
||||
|
||||
AssertEqual
|
||||
\ ale#Escape('foobar') . b:command_tail,
|
||||
\ ale_linters#c#clang#GetCommand(bufnr(''))
|
||||
\ ale_linters#c#clang#GetCommand(bufnr(''), [])
|
||||
|
||||
@@ -30,10 +30,10 @@ Execute(The executable should be configurable):
|
||||
Execute(The executable should be used in the command):
|
||||
AssertEqual
|
||||
\ ale#Escape('gcc') . b:command_tail,
|
||||
\ ale_linters#c#gcc#GetCommand(bufnr(''))
|
||||
\ ale_linters#c#gcc#GetCommand(bufnr(''), [])
|
||||
|
||||
let b:ale_c_gcc_executable = 'foobar'
|
||||
|
||||
AssertEqual
|
||||
\ ale#Escape('foobar') . b:command_tail,
|
||||
\ ale_linters#c#gcc#GetCommand(bufnr(''))
|
||||
\ ale_linters#c#gcc#GetCommand(bufnr(''), [])
|
||||
|
||||
Reference in New Issue
Block a user