summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-12-31 02:30:24 +0000
committerDavid Robillard <d@drobilla.net>2013-12-31 02:30:24 +0000
commit9f0866ed306c16a2d71296828ed16036cb21dd80 (patch)
tree74c66edfab3d42b7083a94d8f9c8255193973f5a /wscript
parentf76b94c277c34855579486851517d03c314c8fde (diff)
downloadingen-9f0866ed306c16a2d71296828ed16036cb21dd80.tar.gz
ingen-9f0866ed306c16a2d71296828ed16036cb21dd80.tar.bz2
ingen-9f0866ed306c16a2d71296828ed16036cb21dd80.zip
Clean up ontology.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5234 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript9
1 files changed, 9 insertions, 0 deletions
diff --git a/wscript b/wscript
index 3a42809d..75c76fa5 100644
--- a/wscript
+++ b/wscript
@@ -204,6 +204,15 @@ 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/namespaces,-whitespace/line_length,-runtime/rtti,-runtime/references,-whitespace/blank_line,-runtime/sizeof,-readability/streams,-whitespace/operators,-whitespace/parens,-build/include,-build/storage_class `find -name *.cpp -or -name *.hpp`', shell=True)
+def upload_docs(ctx):
+ import shutil
+ specgendir = '/usr/local/share/lv2specgen/'
+ shutil.copy(specgendir + 'style.css', 'build')
+ os.system('lv2specgen.py --list-email=ingen@drobilla.net --list-page=http://lists.drobilla.net/listinfo.cgi/ingen-drobilla.net bundles/ingen.lv2/ingen.ttl %s style.css build/ingen.html' % specgendir)
+ os.system('rsync -avz -e ssh bundles/ingen.lv2/ingen.ttl drobilla@drobilla.net:~/drobilla.net/ns/')
+ os.system('rsync -avz -e ssh build/ingen.html drobilla@drobilla.net:~/drobilla.net/ns/')
+ os.system('rsync -avz -e ssh %s/style.css drobilla@drobilla.net:~/drobilla.net/ns/' % specgendir)
+
def test(ctx):
os.environ['PATH'] = 'tests' + os.pathsep + os.getenv('PATH')
os.environ['LD_LIBRARY_PATH'] = os.path.join('src')