[gnome-builder] waf: use "wscript" as project filename for waf projects



commit 9fbc8a1ee4600d57629e2daf5a3abd36bbb2324d
Author: Christian Hergert <chergert redhat com>
Date:   Fri Feb 22 22:38:51 2019 -0800

    waf: use "wscript" as project filename for waf projects

 src/plugins/waf/waf.plugin    | 2 +-
 src/plugins/waf/waf_plugin.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/waf/waf.plugin b/src/plugins/waf/waf.plugin
index dda0e0d08..3b72decad 100644
--- a/src/plugins/waf/waf.plugin
+++ b/src/plugins/waf/waf.plugin
@@ -7,5 +7,5 @@ Loader=python3
 Module=waf_plugin
 Name=Waf
 X-Project-File-Filter-Name=Waf (waf)
-X-Project-File-Filter-Pattern=waf
+X-Project-File-Filter-Pattern=wscript
 X-Builder-ABI=@PACKAGE_ABI@
diff --git a/src/plugins/waf/waf_plugin.py b/src/plugins/waf/waf_plugin.py
index a22b93c86..31908582b 100644
--- a/src/plugins/waf/waf_plugin.py
+++ b/src/plugins/waf/waf_plugin.py
@@ -45,7 +45,7 @@ def sniff_python_version(path):
 class WafBuildSystemDiscovery(Ide.SimpleBuildSystemDiscovery):
     def __init__(self, *args, **kwargs):
         super().__init__(*args, **kwargs)
-        self.props.glob = 'waf'
+        self.props.glob = 'wscript'
         self.props.hint = 'waf_plugin'
         self.props.priority = 1000
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]