aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript18
1 files changed, 17 insertions, 1 deletions
diff --git a/wscript b/wscript
index 37a24e8..f05ae77 100644
--- a/wscript
+++ b/wscript
@@ -9,7 +9,7 @@ from waflib.extras import autowaf as autowaf
# Mandatory waf variables
APPNAME = 'lv2' # Package name for waf dist
-VERSION = '1.18.2' # Package version for waf dist
+VERSION = '1.18.3' # Package version for waf dist
top = '.' # Source directory
out = 'build' # Build directory
@@ -196,6 +196,7 @@ def configure(conf):
if conf.env.BUILD_TESTS:
conf.find_program('serdi', mandatory=False)
conf.find_program('sord_validate', mandatory=False)
+ conf.find_program('codespell', mandatory=False)
autowaf.set_lib_env(conf, 'lv2', VERSION, has_objects=False)
autowaf.set_local_lib(conf, 'lv2', has_objects=False)
@@ -719,6 +720,21 @@ def test(tst):
all_files = schemas + spec_files + plugin_files + bld_files
check(tst.env.SORD_VALIDATE + all_files)
+ if "CODESPELL" in tst.env:
+ spell_ignore = [
+ "../doc/pygments.css",
+ "../lv2specgen/DTD/*",
+ "../schemas.lv2/doap.ttl",
+ "../waflib",
+ ]
+
+ check(tst.env.CODESPELL + [
+ "-d",
+ "-q", "3",
+ "-S", ','.join(spell_ignore),
+ '..',
+ ])
+
try:
test_vocabularies(check, specs, spec_files)
except ImportError as e: