diff options
author | David Robillard <d@drobilla.net> | 2017-09-25 09:39:37 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-09-25 09:39:37 +0200 |
commit | 5dddc73ee35c35ea7b5c9429e8d2dbd954a33955 (patch) | |
tree | 09a0cb6593765fe18ae3f0938595cd220f0f31a3 | |
parent | 9dd64d03e482b84a3e35787d69028275f50533cd (diff) | |
download | serd-5dddc73ee35c35ea7b5c9429e8d2dbd954a33955.tar.gz serd-5dddc73ee35c35ea7b5c9429e8d2dbd954a33955.tar.bz2 serd-5dddc73ee35c35ea7b5c9429e8d2dbd954a33955.zip |
Add missing waf command documentation
-rw-r--r-- | wscript | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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: |