diff options
author | David Robillard <d@drobilla.net> | 2016-08-16 17:36:36 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-08-17 17:21:35 -0400 |
commit | 8dda4a432a027fa0dda216f6cb34ce5b3982a971 (patch) | |
tree | cca079ac47a6af22556ed9efae388e0ed48d8135 /wscript | |
parent | 905d7b70f9382507065c827e1c0d94921a5385ee (diff) | |
download | suil-8dda4a432a027fa0dda216f6cb34ce5b3982a971.tar.gz suil-8dda4a432a027fa0dda216f6cb34ce5b3982a971.tar.bz2 suil-8dda4a432a027fa0dda216f6cb34ce5b3982a971.zip |
Add target for generating release announcements
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -306,3 +306,15 @@ def upload_docs(ctx): def lint(ctx): subprocess.call('cpplint.py --filter=-whitespace,+whitespace/comments,-build/header_guard,-readability/casting,-readability/todo src/* suil/*', shell=True) + +def posts(ctx): + path = str(ctx.path.abspath()) + autowaf.news_to_posts( + os.path.join(path, 'NEWS'), + {'title' : 'Suil', + 'description' : autowaf.get_blurb(os.path.join(path, 'README')), + 'dist_pattern' : 'http://download.drobilla.net/suil-%s.tar.bz2'}, + { 'Author' : 'drobilla', + 'Tags' : 'Hacking, LAD, LV2' }, + os.path.join(out, 'posts')) + |