diff options
author | David Robillard <d@drobilla.net> | 2011-09-29 00:59:16 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-09-29 00:59:16 +0000 |
commit | 829760ac063b9cbab3546fdb1d78cfac1ebd52fd (patch) | |
tree | 19cef72d0ef8e4d59df03930953f5d325165084a /wscript | |
parent | ba34cfd454a1d5bdbab60322966ef39236c9f5b8 (diff) | |
download | sord-829760ac063b9cbab3546fdb1d78cfac1ebd52fd.tar.gz sord-829760ac063b9cbab3546fdb1d78cfac1ebd52fd.tar.bz2 sord-829760ac063b9cbab3546fdb1d78cfac1ebd52fd.zip |
Tidy.
git-svn-id: http://svn.drobilla.net/sord/trunk@166 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,6 +1,7 @@ #!/usr/bin/env python import glob import os +import subprocess from waflib.extras import autowaf as autowaf import waflib.Logs as Logs, waflib.Options as Options @@ -203,6 +204,9 @@ def build(bld): if bld.env['DOCS']: bld.add_post_fun(fix_docs) +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) + def build_dir(ctx, subdir): if autowaf.is_child(): return os.path.join('build', APPNAME, subdir) |