diff options
author | Qyriad <qyriad@qyriad.me> | 2024-08-10 10:59:58 -0600 |
---|---|---|
committer | Qyriad <qyriad@qyriad.me> | 2024-08-20 17:21:13 +0000 |
commit | 95863b258bde3ec11d9688e35454e523571ac17d (patch) | |
tree | 1a2c1a973988a371c20bc315e01709fbac96d8d3 /meson/clang-tidy | |
parent | f1533160aaa0b2ecd0bb26d6445808593ecb0726 (diff) |
build: build lix-doc with Meson! 🎉
lix-doc is now built with Meson, with lix-doc's dependencies built as
Meson subprojects, either fetched on demand with .wrap files, or fetched
in advance by Nix with importCargoLock. It even builds statically.
Fixes #256.
Co-authored-by: Lunaphied <lunaphied@lunaphied.me>
Co-authored-by: Jade Lovelace <lix@jade.fyi>
Change-Id: I3a4731ff13278e7117e0316bc0d7169e85f5eb0c
Diffstat (limited to 'meson/clang-tidy')
-rwxr-xr-x | meson/clang-tidy/clean_compdb.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/meson/clang-tidy/clean_compdb.py b/meson/clang-tidy/clean_compdb.py index 6736fe63a..a3fc77204 100755 --- a/meson/clang-tidy/clean_compdb.py +++ b/meson/clang-tidy/clean_compdb.py @@ -30,7 +30,14 @@ def process_compdb(compdb: list[dict]) -> list[dict]: item['command'] = shlex.join(munch_command(shlex.split(item['command']))) return item - return [chomp(x) for x in compdb if not x['file'].endswith('precompiled-headers.hh')] + def cmdfilter(item: dict) -> bool: + file = item['file'] + return ( + not file.endswith('precompiled-headers.hh') + and not file.endswith('.rs') + ) + + return [chomp(x) for x in compdb if cmdfilter(x)] def main(): |