aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-06-29 12:53:23 -0400
committerDavid Robillard <d@drobilla.net>2017-06-30 10:29:33 -0400
commit902d171c5e79561a534c3cbb9cc547cd1fadeab7 (patch)
tree20b2e3bdadb7e390ab33d5e1163ebdfe8b6280cf /wscript
parent195e4bcff3c4dfd3fe8bbf0df57d53ce89ca99e8 (diff)
downloadserd-902d171c5e79561a534c3cbb9cc547cd1fadeab7.tar.gz
serd-902d171c5e79561a534c3cbb9cc547cd1fadeab7.tar.bz2
serd-902d171c5e79561a534c3cbb9cc547cd1fadeab7.zip
Fix various clang-tidy issues
Diffstat (limited to 'wscript')
-rw-r--r--wscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/wscript b/wscript
index 3aff945c..b39e43a8 100644
--- a/wscript
+++ b/wscript
@@ -211,6 +211,7 @@ def build(bld):
def lint(ctx):
subprocess.call('cpplint.py --filter=+whitespace/comments,-whitespace/tab,-whitespace/braces,-whitespace/labels,-build/header_guard,-readability/casting,-readability/todo,-build/include src/* serd/*', shell=True)
+ subprocess.call('clang-tidy -checks="*,-misc-unused-parameters,-readability-else-after-return,-llvm-header-guard,-google-readability-todo,-clang-analyzer-alpha.*" -extra-arg="-std=c99" -extra-arg="-I." -extra-arg="-Ibuild" ./serd/*.h ./src/*.c ./src/*.h', shell=True)
def amalgamate(ctx):
shutil.copy('serd/serd.h', 'build/serd.h')