diff options
author | Kevin Smith <git@kismith.co.uk> | 2018-07-26 18:04:07 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2018-07-26 18:06:12 (GMT) |
commit | 5fb831b356dc53ca9862b3b1a3f56b32db693bab (patch) | |
tree | 7b9696f4b4129633d6a1648c1bba0ef274cc5a9c /BuildTools | |
parent | 3872dcb616d518c8f583429a4611277212ee8ab2 (diff) | |
download | swift-5fb831b356dc53ca9862b3b1a3f56b32db693bab.zip swift-5fb831b356dc53ca9862b3b1a3f56b32db693bab.tar.bz2 |
Allow scons2ninja to work with check=1
Test-Information:
Ran ./BuildTools/scons2ninja.py check=1 build_examples=0, and it
generated a script that builds
and runs the checker, and that makes ninja -t compdb cxx spit out
things suitable for compile_commands.json
Change-Id: I9b92557f35c8230cc59a32580546a520e5684cab
Diffstat (limited to 'BuildTools')
-rwxr-xr-x | BuildTools/scons2ninja.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/BuildTools/scons2ninja.py b/BuildTools/scons2ninja.py index 1089537..df4c655 100755 --- a/BuildTools/scons2ninja.py +++ b/BuildTools/scons2ninja.py @@ -593,6 +593,8 @@ for line in build_lines : basename = basename, outdir = outdir) + elif tool == 'checker': + pass elif not ninja_custom_command(ninja, line) : raise Exception("Unknown tool: '" + line + "'") |