From 5dddc73ee35c35ea7b5c9429e8d2dbd954a33955 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 25 Sep 2017 09:39:37 +0200 Subject: Add missing waf command documentation --- wscript | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wscript b/wscript index ef912a5b..39d21d8d 100644 --- a/wscript +++ b/wscript @@ -196,11 +196,13 @@ def build(bld): bld.add_post_fun(fix_docs) def lint(ctx): + "checks code for style issues" import subprocess 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): + "builds single-file amalgamated source" import shutil shutil.copy('serd/serd.h', 'build/serd.h') with open('build/serd.c', 'w') as amalgamation: -- cgit v1.2.1