diff options
author | David Robillard <d@drobilla.net> | 2016-08-16 17:35:38 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-08-17 17:21:32 -0400 |
commit | 65ffeadf57cc1c7229417bac5ef9244a87732636 (patch) | |
tree | 09605fb8f367529884aef2d84319c163510d9c80 /wscript | |
parent | b4ba568b24c43c64a758471b36c28923a5adafaa (diff) | |
download | serd-65ffeadf57cc1c7229417bac5ef9244a87732636.tar.gz serd-65ffeadf57cc1c7229417bac5ef9244a87732636.tar.bz2 serd-65ffeadf57cc1c7229417bac5ef9244a87732636.zip |
Add target for generating release announcements
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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')) |