diff options
author | David Robillard <d@drobilla.net> | 2011-01-25 19:54:58 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-01-25 19:54:58 +0000 |
commit | 2a4db42ee2548b0bcddd46f28e504fcfc8afc554 (patch) | |
tree | a829b86230db067e596b79e5efc7415cbee154ce /wscript | |
parent | 33c8bc056440d9734edd0e823cc5724a0f3a46f8 (diff) | |
download | serd-2a4db42ee2548b0bcddd46f28e504fcfc8afc554.tar.gz serd-2a4db42ee2548b0bcddd46f28e504fcfc8afc554.tar.bz2 serd-2a4db42ee2548b0bcddd46f28e504fcfc8afc554.zip |
Add `lint' waf target.
git-svn-id: http://svn.drobilla.net/serd/trunk@73 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -106,6 +106,9 @@ def build(bld): bld.add_post_fun(autowaf.run_ldconfig) +def lint(ctx): + subprocess.call('cpplint.py --filter=-whitespace,+whitespace/comments,-build/header_guard,-readability/casting,-readability/todo src/* serd/*', shell=True) + def test(ctx): try: os.makedirs('build/tests') |