diff options
author | David Robillard <d@drobilla.net> | 2017-10-03 22:11:36 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-10-03 22:41:23 +0200 |
commit | 700cc8c294f4bf18d8bb40927e2ffcba354472c4 (patch) | |
tree | 2bc4dc976dc2657d687445e28545e3679fae7906 /wscript | |
parent | 386330123fd8efe2bdae47c9a235baa5d217d603 (diff) | |
download | suil-700cc8c294f4bf18d8bb40927e2ffcba354472c4.tar.gz suil-700cc8c294f4bf18d8bb40927e2ffcba354472c4.tar.bz2 suil-700cc8c294f4bf18d8bb40927e2ffcba354472c4.zip |
Add release and upload commands
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -365,12 +365,17 @@ def build(bld): if bld.env.DOCS: bld.add_post_fun(lambda ctx: autowaf.make_simple_dox(APPNAME)) -def upload_docs(ctx): - os.system("rsync -ravz --delete -e ssh build/doc/html/ drobilla@drobilla.net:~/drobilla.net/docs/suil/") - def lint(ctx): subprocess.call('cpplint.py --filter=-whitespace,+whitespace/comments,-build/header_guard,-readability/casting,-readability/todo src/* suil/*', shell=True) +def release(ctx): + autowaf.release(APPNAME.title(), VERSION) + +def upload(ctx): + autowaf.run_script( + ['scp suil-%s.tar* drobilla@drobilla.net:~/download.drobilla.net/' % VERSION, + 'rsync -ravz --delete -e ssh build/doc/html/ drobilla@drobilla.net:~/drobilla.net/docs/suil/']) + def posts(ctx): path = str(ctx.path.abspath()) autowaf.news_to_posts( |