summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-08-16 17:36:36 -0400
committerDavid Robillard <d@drobilla.net>2016-08-17 17:21:35 -0400
commit8dda4a432a027fa0dda216f6cb34ce5b3982a971 (patch)
treecca079ac47a6af22556ed9efae388e0ed48d8135 /wscript
parent905d7b70f9382507065c827e1c0d94921a5385ee (diff)
downloadsuil-8dda4a432a027fa0dda216f6cb34ce5b3982a971.tar.gz
suil-8dda4a432a027fa0dda216f6cb34ce5b3982a971.tar.bz2
suil-8dda4a432a027fa0dda216f6cb34ce5b3982a971.zip
Add target for generating release announcements
Diffstat (limited to 'wscript')
-rw-r--r--wscript12
1 files changed, 12 insertions, 0 deletions
diff --git a/wscript b/wscript
index a5f0141..bb4686e 100644
--- a/wscript
+++ b/wscript
@@ -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'))
+