diff options
author | David Robillard <d@drobilla.net> | 2016-08-16 17:20:58 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-08-17 17:24:49 -0400 |
commit | c91a6de816db02ad3c988f6b4ff473704a6e6c50 (patch) | |
tree | d24fd7205e592bdbb15acd48c3b3f8ac7daff09d /wscript | |
parent | 74a0b8c6976c2a4ba9987c80e75d9fb1a39b6fbd (diff) | |
download | ganv-c91a6de816db02ad3c988f6b4ff473704a6e6c50.tar.gz ganv-c91a6de816db02ad3c988f6b4ff473704a6e6c50.tar.bz2 ganv-c91a6de816db02ad3c988f6b4ff473704a6e6c50.zip |
Add target for generating release announcements
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -244,3 +244,14 @@ def test(ctx): def i18n(bld): autowaf.build_i18n(bld, '..', 'ganv', APPNAME, ganv_source, 'David Robillard') + +def posts(ctx): + path = str(ctx.path.abspath()) + autowaf.news_to_posts( + os.path.join(path, 'NEWS'), + {'title' : 'Ganv', + 'description' : autowaf.get_blurb(os.path.join(path, 'README')), + 'dist_pattern' : 'http://download.drobilla.net/ganv-%s.tar.bz2'}, + { 'Author' : 'drobilla', + 'Tags' : 'Hacking, LAD, LV2' }, + os.path.join(out, 'posts')) |