diff options
author | David Robillard <d@drobilla.net> | 2018-09-22 10:24:26 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-22 10:24:26 +0200 |
commit | db4fa08d4da3cc840e6f97e6869a877f2b4c9474 (patch) | |
tree | 956538ded0be74ac6588f4cc6a963900eb8159ff /waf | |
download | lv2-db4fa08d4da3cc840e6f97e6869a877f2b4c9474.tar.xz |
Squashed 'waflib/' content from commit 6e726eb
git-subtree-dir: waflib
git-subtree-split: 6e726eb11d3e21be410549d27dd1aa94678f3d09
Diffstat (limited to 'waf')
-rwxr-xr-x | waf | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -0,0 +1,16 @@ +#!/usr/bin/env python + +# Minimal waf script for projects that include waflib directly + +from waflib import Context, Scripting + +import inspect +import os + +def main(): + script_path = os.path.abspath(inspect.getfile(inspect.getmodule(main))) + project_path = os.path.dirname(script_path) + Scripting.waf_entry_point(os.getcwd(), Context.WAFVERSION, project_path) + +if __name__ == '__main__': + main() |