summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-30 02:07:42 +0000
committerDavid Robillard <d@drobilla.net>2011-04-30 02:07:42 +0000
commit6c72abfc6d6649f07d85f70b25ce4393dc775a39 (patch)
treed87d8cc347a43b3b02d97caa6666848448c7e92c /wscript
parent054c39b12cb610d79006f0b51153cb2c4aa5a0b7 (diff)
downloadlilv-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--wscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/wscript b/wscript
index a24ff0a..879b0e0 100644
--- a/wscript
+++ b/wscript
@@ -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)