diff options
author | David Robillard <d@drobilla.net> | 2018-09-15 14:04:13 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-15 14:04:13 +0200 |
commit | 4e68ce8db186c21c86f1348c10d1f5b1e23a6ff1 (patch) | |
tree | 7ea4888f0ce4aa9e939e8a2cc1b84f9145e912e0 /waf | |
download | drobillad-4e68ce8db186c21c86f1348c10d1f5b1e23a6ff1.tar.gz drobillad-4e68ce8db186c21c86f1348c10d1f5b1e23a6ff1.tar.bz2 drobillad-4e68ce8db186c21c86f1348c10d1f5b1e23a6ff1.zip |
Squashed 'waflib/' content from commit 9eb0cf8
git-subtree-dir: waflib
git-subtree-split: 9eb0cf856c394d9354a15c606107ca294db406bb
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() |