aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-08-17 17:28:55 -0400
committerDavid Robillard <d@drobilla.net>2016-08-17 17:28:55 -0400
commit37e99cb1c2bf878f7bd58c4947afae60d8e07ef1 (patch)
treec135916263b430c57ba1a56a684cef9ee3823680 /wscript
parent20db71113e46355d14debdbcfa4b10de717ff471 (diff)
downloadblop.lv2-37e99cb1c2bf878f7bd58c4947afae60d8e07ef1.tar.gz
blop.lv2-37e99cb1c2bf878f7bd58c4947afae60d8e07ef1.tar.bz2
blop.lv2-37e99cb1c2bf878f7bd58c4947afae60d8e07ef1.zip
Add target for generating release announcements
Diffstat (limited to 'wscript')
-rw-r--r--wscript11
1 files changed, 11 insertions, 0 deletions
diff --git a/wscript b/wscript
index b95240d..f664e77 100644
--- a/wscript
+++ b/wscript
@@ -178,3 +178,14 @@ def build(bld):
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 src/* serd/*', shell=True)
+
+def posts(ctx):
+ path = str(ctx.path.abspath())
+ autowaf.news_to_posts(
+ os.path.join(path, 'NEWS'),
+ {'title' : 'BLOP.LV2',
+ 'description' : autowaf.get_blurb(os.path.join(path, 'README')),
+ 'dist_pattern' : 'http://download.drobilla.net/blop-lv2-%s.tar.bz2'},
+ { 'Author' : 'drobilla',
+ 'Tags' : 'LV2' },
+ os.path.join(out, 'posts'))