From 4e950036c88697d6983cf91447f6083cb7071c71 Mon Sep 17 00:00:00 2001 From: Tom Henderson Date: Tue, 12 Nov 2013 10:37:52 -0800 Subject: [PATCH] bug 1622: make apiscan Task always run --- bindings/python/wscript | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bindings/python/wscript b/bindings/python/wscript index 68799686a..f7fcc782a 100644 --- a/bindings/python/wscript +++ b/bindings/python/wscript @@ -16,7 +16,7 @@ from waflib.Errors import WafError REQUIRED_PYBINDGEN_VERSION = (0, 16, 0, 834) REQUIRED_PYGCCXML_VERSION = (0, 9, 5) - +RUN_ME=-3 def add_to_python_path(path): if os.environ.get('PYTHONPATH', ''): @@ -365,6 +365,11 @@ class apiscan_task(Task.Task): retval = scan.wait() return retval + def runnable_status(self): + # Waf Task will usually run if the signature of the build changes + # but skip otherwise. Here, we want to always run this task if + # user invoked --apiscan + return RUN_ME def get_modules_and_headers(bld): """