From 46dfb756e7e0a9d8325aaee8e1068c2c7ca82793 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 16 Aug 2016 17:35:43 -0400 Subject: Add target for generating release announcements --- wscript | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'wscript') 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')) -- cgit v1.2.1