aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-10-10 03:28:20 +0000
committerDavid Robillard <d@drobilla.net>2011-10-10 03:28:20 +0000
commitbfab1592ec2ac68c1c2ff8d1d7713ebaa81d8839 (patch)
treeec478013d61b5beab44ad131df3f65e6ec50eab9 /wscript
parent5caadbdd38342bb3f275e89f6dcd637d37893f65 (diff)
downloadlv2-bfab1592ec2ac68c1c2ff8d1d7713ebaa81d8839.tar.xz
Tidy.
Diffstat (limited to 'wscript')
-rw-r--r--wscript8
1 files changed, 8 insertions, 0 deletions
diff --git a/wscript b/wscript
index 311a593..a2b2345 100644
--- a/wscript
+++ b/wscript
@@ -1,6 +1,8 @@
#!/usr/bin/env python
import datetime
import os
+import subprocess
+import glob
from waflib.extras import autowaf as autowaf
import waflib.Logs as Logs
@@ -87,3 +89,9 @@ def build(bld):
#for i in ['plugins/eg-amp.lv2', 'plugins/eg-sampler.lv2']:
# bld.recurse(i)
+
+def lint(ctx):
+ for i in (['core.lv2/lv2.h']
+ + glob.glob('ext/*/*.h')
+ + glob.glob('extensions/*/*.h')):
+ subprocess.call('cpplint.py --filter=+whitespace/comments,-whitespace/tab,-whitespace/braces,-whitespace/labels,-whitespace/blank_line,-build/header_guard,-readability/casting,-readability/todo,-build/include ' + i, shell=True)