From 65ffeadf57cc1c7229417bac5ef9244a87732636 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 16 Aug 2016 17:35:38 -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 8f2b873d..86a0d3a9 100644 --- a/wscript +++ b/wscript @@ -520,3 +520,14 @@ def test(ctx): pass autowaf.post_test(ctx, APPNAME) + +def posts(ctx): + path = str(ctx.path.abspath()) + autowaf.news_to_posts( + os.path.join(path, 'NEWS'), + {'title' : 'Serd', + 'description' : autowaf.get_blurb(os.path.join(path, 'README')), + 'dist_pattern' : 'http://download.drobilla.net/serd-%s.tar.bz2'}, + { 'Author' : 'drobilla', + 'Tags' : 'Hacking, RDF' }, + os.path.join(out, 'posts')) -- cgit v1.2.1