diff options
author | David Robillard <d@drobilla.net> | 2016-08-16 17:20:04 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-08-17 17:21:23 -0400 |
commit | 17d76be0daa76ad60009fdcfbcae089ccfff6e90 (patch) | |
tree | 186d2b445d896017d73992f14b3a735a76471a3c /wscript | |
parent | a700a88b1ad68a9d223e65f4ee14b433c82b22de (diff) | |
download | lilv-17d76be0daa76ad60009fdcfbcae089ccfff6e90.tar.gz lilv-17d76be0daa76ad60009fdcfbcae089ccfff6e90.tar.bz2 lilv-17d76be0daa76ad60009fdcfbcae089ccfff6e90.zip |
Add target for generating release announcements
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -459,3 +459,14 @@ def test(ctx): def lint(ctx): subprocess.call('cpplint.py --filter=+whitespace/comments,-whitespace/tab,-whitespace/braces,-whitespace/labels,-build/header_guard,-readability/casting,-readability/todo,-build/include,-runtime/sizeof src/* lilv/*', shell=True) + +def posts(ctx): + path = str(ctx.path.abspath()) + autowaf.news_to_posts( + os.path.join(path, 'NEWS'), + {'title' : 'Lilv', + 'description' : autowaf.get_blurb(os.path.join(path, 'README')), + 'dist_pattern' : 'http://download.drobilla.net/lilv-%s.tar.bz2'}, + { 'Author' : 'drobilla', + 'Tags' : 'Hacking, LAD, LV2' }, + os.path.join(out, 'posts')) |