diff options
author | David Robillard <d@drobilla.net> | 2011-04-30 02:07:42 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-30 02:07:42 +0000 |
commit | 6c72abfc6d6649f07d85f70b25ce4393dc775a39 (patch) | |
tree | d87d8cc347a43b3b02d97caa6666848448c7e92c /wscript | |
parent | 054c39b12cb610d79006f0b51153cb2c4aa5a0b7 (diff) | |
download | lilv-6c72abfc6d6649f07d85f70b25ce4393dc775a39.tar.gz lilv-6c72abfc6d6649f07d85f70b25ce4393dc775a39.tar.bz2 lilv-6c72abfc6d6649f07d85f70b25ce4393dc775a39.zip |
Tidy.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3241 a436a847-0d15-0410-975c-d299462d15a1
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 os import sys +import subprocess from waflib.extras import autowaf as autowaf import waflib.Options as Options @@ -295,3 +296,6 @@ def test(ctx): autowaf.pre_test(ctx, APPNAME) autowaf.run_tests(ctx, APPNAME, ['test/lilv_test'], dirs=['./src','./test']) autowaf.post_test(ctx, APPNAME) + +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/* lilv/*', shell=True) |