diff options
author | David Robillard <d@drobilla.net> | 2012-03-10 22:24:09 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-03-10 22:24:09 +0000 |
commit | d14a7d113628578b6ed065b08db6c92536f550bd (patch) | |
tree | ff7ab0c295103f640e031c5013fa5c774f6fb821 /wscript | |
parent | 60d7a9ff146ff3c137a99b82dd75fe8f57525938 (diff) | |
download | serd-d14a7d113628578b6ed065b08db6c92536f550bd.tar.gz serd-d14a7d113628578b6ed065b08db6c92536f550bd.tar.bz2 serd-d14a7d113628578b6ed065b08db6c92536f550bd.zip |
Add serd_writer_set_root_uri(), root parameter to
serd_uri_serialise_relative(), and -r option to serdi, to enable writing URIs
with up references (../) within a parent namespace.
Resolve dot segments in serd_uri_resolve() instead of at write time.
git-svn-id: http://svn.drobilla.net/serd/trunk@336 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -9,7 +9,7 @@ from waflib.extras import autowaf as autowaf import waflib.Logs as Logs, waflib.Options as Options # Version of this package (even if built as a child) -SERD_VERSION = '0.12.0' +SERD_VERSION = '0.13.0' SERD_MAJOR_VERSION = '0' # Library version (UNIX style major, minor, micro) @@ -341,6 +341,7 @@ def test(ctx): 'serdi_static -z > %s' % nul, 'serdi_static -p > %s' % nul, 'serdi_static -c > %s' % nul, + 'serdi_static -r > %s' % nul, 'serdi_static -i illegal > %s' % nul, 'serdi_static -o illegal > %s' % nul, 'serdi_static -i turtle > %s' % nul, @@ -386,6 +387,8 @@ def test(ctx): flags += '-b' if (num % 5 == 0): flags += ' -f' + if (num % 3 == 0): + flags += ' -r http://www.w3.org/' base_uri = 'http://www.w3.org/2001/sw/DataAccess/df1/' + test.replace('\\', '/') out_filename = test + '.thru' commands += [ |