diff options
author | David Robillard <d@drobilla.net> | 2016-08-16 17:35:43 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-08-17 17:21:33 -0400 |
commit | 46dfb756e7e0a9d8325aaee8e1068c2c7ca82793 (patch) | |
tree | cb6a2726a444d3be52b4b26ed13267a744726ca1 /wscript | |
parent | 01d674c66473822cbfd5a501d0d41fe28dd121d8 (diff) | |
download | sord-46dfb756e7e0a9d8325aaee8e1068c2c7ca82793.tar.gz sord-46dfb756e7e0a9d8325aaee8e1068c2c7ca82793.tar.bz2 sord-46dfb756e7e0a9d8325aaee8e1068c2c7ca82793.zip |
Add target for generating release announcements
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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')) |