aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/wscript b/wscript
index 67707584..9041545e 100644
--- a/wscript
+++ b/wscript
@@ -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')