mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-22 09:57:15 +01:00
Update Configure.check_waf_version
This commit is contained in:
parent
ce2a9907d8
commit
6253670a5e
@ -367,11 +367,11 @@ def cmd_to_list(self, cmd):
|
|||||||
return cmd
|
return cmd
|
||||||
|
|
||||||
@conf
|
@conf
|
||||||
def check_waf_version(self, mini='1.9.99', maxi='2.1.0', **kw):
|
def check_waf_version(self, mini='1.9.99', maxi='2.2.0', **kw):
|
||||||
"""
|
"""
|
||||||
Raise a Configuration error if the Waf version does not strictly match the given bounds::
|
Raise a Configuration error if the Waf version does not strictly match the given bounds::
|
||||||
|
|
||||||
conf.check_waf_version(mini='1.9.99', maxi='2.1.0')
|
conf.check_waf_version(mini='1.9.99', maxi='2.2.0')
|
||||||
|
|
||||||
:type mini: number, tuple or string
|
:type mini: number, tuple or string
|
||||||
:param mini: Minimum required version
|
:param mini: Minimum required version
|
||||||
|
Loading…
Reference in New Issue
Block a user