summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wscript11
1 files changed, 8 insertions, 3 deletions
diff --git a/wscript b/wscript
index da8d101..0019c7b 100644
--- a/wscript
+++ b/wscript
@@ -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(