From 9dc61f71c728df6e785f8faa69b03a11f1eb9b58 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 16 Aug 2016 17:35:15 -0400 Subject: Add target for generating release announcements --- wscript | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index 45d99fb..83f8243 100644 --- a/wscript +++ b/wscript @@ -128,3 +128,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,-whitespace/line_length,-runtime/references,-readability/streams,-build/include_order raul/*', shell=True) + +def posts(ctx): + path = str(ctx.path.abspath()) + autowaf.news_to_posts( + os.path.join(path, 'NEWS'), + {'title' : 'Raul', + 'description' : autowaf.get_blurb(os.path.join(path, 'README')), + 'dist_pattern' : 'http://download.drobilla.net/raul-%s.tar.bz2'}, + { 'Author' : 'drobilla', + 'Tags' : 'Hacking, LAD, LV2' }, + os.path.join(out, 'posts')) -- cgit v1.2.1