summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-08-16 17:35:43 -0400
committerDavid Robillard <d@drobilla.net>2016-08-17 17:21:33 -0400
commit46dfb756e7e0a9d8325aaee8e1068c2c7ca82793 (patch)
treecb6a2726a444d3be52b4b26ed13267a744726ca1 /wscript
parent01d674c66473822cbfd5a501d0d41fe28dd121d8 (diff)
downloadsord-46dfb756e7e0a9d8325aaee8e1068c2c7ca82793.tar.gz
sord-46dfb756e7e0a9d8325aaee8e1068c2c7ca82793.tar.bz2
sord-46dfb756e7e0a9d8325aaee8e1068c2c7ca82793.zip
Add target for generating release announcements
Diffstat (limited to 'wscript')
-rw-r--r--wscript11
1 files changed, 11 insertions, 0 deletions
diff --git a/wscript b/wscript
index 2593b6a..fbf6b27 100644
--- a/wscript
+++ b/wscript
@@ -333,3 +333,14 @@ def test(ctx):
autowaf.run_tests(ctx, APPNAME, verify_tests, name='verify_turtle_to_ntriples')
autowaf.post_test(ctx, APPNAME)
+
+def posts(ctx):
+ path = str(ctx.path.abspath())
+ autowaf.news_to_posts(
+ os.path.join(path, 'NEWS'),
+ {'title' : 'Sord',
+ 'description' : autowaf.get_blurb(os.path.join(path, 'README')),
+ 'dist_pattern' : 'http://download.drobilla.net/sord-%s.tar.bz2'},
+ { 'Author' : 'drobilla',
+ 'Tags' : 'Hacking, RDF' },
+ os.path.join(out, 'posts'))