aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript12
1 files changed, 2 insertions, 10 deletions
diff --git a/wscript b/wscript
index c7182d58..c4aa1b16 100644
--- a/wscript
+++ b/wscript
@@ -225,16 +225,8 @@ def build(bld):
def lint(ctx):
"checks code for style issues"
import subprocess
- cmd = ("clang-tidy -p=. -header-filter=.* -checks=\"*," +
- "-bugprone-suspicious-string-compare," +
- "-clang-analyzer-alpha.*," +
- "-google-readability-todo," +
- "-hicpp-signed-bitwise," +
- "-llvm-header-guard," +
- "-misc-unused-parameters," +
- "-readability-else-after-return\" " +
- "../src/*.c")
- subprocess.call(cmd, cwd='build', shell=True)
+ subprocess.call('clang-tidy ../src/*.c ../tests/*.c ../tests/*.cpp',
+ cwd='build', shell=True)
def amalgamate(ctx):
"builds single-file amalgamated source"