mirror of https://gitlab.com/ita1024/waf.git
Using suggested self.cmd.startswith approach
This commit is contained in:
parent
058b5d3793
commit
3204e2597c
|
@ -123,7 +123,7 @@ def patch_execute():
|
|||
"""
|
||||
Invoke clangdb command before build
|
||||
"""
|
||||
if isinstance(self, Build.BuildContext):
|
||||
if self.cmd.startswith('build'):
|
||||
Scripting.run_command('clangdb')
|
||||
|
||||
old_execute_build(self)
|
||||
|
|
Loading…
Reference in New Issue