mirror of https://gitlab.com/ita1024/waf.git
Fix typos
This commit is contained in:
parent
3fc8c8c68a
commit
a10822f688
|
@ -57,7 +57,7 @@ def build(bld):
|
|||
|
||||
# to execute all tests:
|
||||
# $ waf --alltests
|
||||
# to set this behaviour permanenly:
|
||||
# to set this behaviour permanently:
|
||||
#bld.options.all_tests = True
|
||||
bld.options.clear_failed_tests = True
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ def build(bld):
|
|||
|
||||
# to execute all tests:
|
||||
# $ waf --alltests
|
||||
# to set this behaviour permanenly:
|
||||
# to set this behaviour permanently:
|
||||
bld.options.all_tests = True
|
||||
|
||||
# debugging zone:
|
||||
|
|
|
@ -19,7 +19,7 @@ def configure(conf):
|
|||
conf.check_python_version((2,7,4))
|
||||
|
||||
def build(bld):
|
||||
# Demostrates mixed usage of py and pyqt5 module, and tests also install_path and install_from
|
||||
# Demonstrates mixed usage of py and pyqt5 module, and tests also install_path and install_from
|
||||
# (since generated files go into build it has to be reset inside the pyqt5 tool)
|
||||
bld(features="py pyqt5", source="src/sample.py src/firstgui.ui", install_path="${PREFIX}/play/", install_from="src/")
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ def configure(conf):
|
|||
conf.check_python_version((2,7,4))
|
||||
|
||||
def build(bld):
|
||||
# Demostrates mixed usage of py and pyqt5 module, and tests also install_path and install_from
|
||||
# Demonstrates mixed usage of py and pyqt5 module, and tests also install_path and install_from
|
||||
# (since generated files go into build it has to be reset inside the pyqt5 tool)
|
||||
bld(features="py pyqt5", source="src/sample.py src/firstgui.ui", install_path="${PREFIX}/play/", install_from="src/")
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Thomas Nagy, 2011 (ita)
|
||||
|
||||
"""
|
||||
Map a compilation failure to a successs status. People playing with C++ templates
|
||||
Map a compilation failure to a success status. People playing with C++ templates
|
||||
might need this.
|
||||
"""
|
||||
|
||||
|
|
|
@ -91,7 +91,7 @@ namespace waflauncher
|
|||
Console.WriteLine ("python2.7 downloaded to " + filename);
|
||||
|
||||
Console.WriteLine ("Installing python");
|
||||
//filename must be qouted or else msiexec will fail
|
||||
//filename must be quoted or else msiexec will fail
|
||||
exec("msiexec","/qn","/i","\"" +filename + "\"");
|
||||
Console.WriteLine ("Python is now installed");
|
||||
}
|
||||
|
|
|
@ -884,7 +884,7 @@ class BuildContext(Context.Context):
|
|||
|
||||
:param dest: absolute path of the symlink
|
||||
:type dest: :py:class:`waflib.Node.Node` or string (absolute path)
|
||||
:param src: link contents, which is a relative or abolute path which may exist or not
|
||||
:param src: link contents, which is a relative or absolute path which may exist or not
|
||||
:type src: string
|
||||
:param env: configuration set for performing substitutions in dest
|
||||
:type env: :py:class:`waflib.ConfigSet.ConfigSet`
|
||||
|
|
|
@ -286,7 +286,7 @@ class ConfigurationContext(Context.Context):
|
|||
|
||||
def eval_rules(self, rules):
|
||||
"""
|
||||
Execute configuration tests provided as list of funcitons to run
|
||||
Execute configuration tests provided as list of functions to run
|
||||
|
||||
:param rules: list of configuration method names
|
||||
:type rules: list of string
|
||||
|
|
|
@ -502,7 +502,7 @@ class Context(ctx):
|
|||
def build(bld):
|
||||
bld.to_log('starting the build')
|
||||
|
||||
Provide a logger on the context class or override this methid if necessary.
|
||||
Provide a logger on the context class or override this method if necessary.
|
||||
|
||||
:param msg: message
|
||||
:type msg: string
|
||||
|
|
|
@ -556,7 +556,7 @@ def process_rule(self):
|
|||
* chmod: permissions for the resulting files (integer value such as Utils.O755)
|
||||
* shell: set to False to execute the command directly (default is True to use a shell)
|
||||
* scan: scanner function
|
||||
* vars: list of variables to trigger rebuilts, such as CFLAGS
|
||||
* vars: list of variables to trigger rebuilds, such as CFLAGS
|
||||
* cls_str: string to display when executing the task
|
||||
* cls_keyword: label to display when executing the task
|
||||
* cache_rule: by default, try to re-use similar classes, set to False to disable
|
||||
|
|
|
@ -146,7 +146,7 @@ def repl(m):
|
|||
|
||||
prec = {}
|
||||
"""
|
||||
Operator precendence rules required for parsing expressions of the form::
|
||||
Operator precedence rules required for parsing expressions of the form::
|
||||
|
||||
#if 1 && 2 != 0
|
||||
"""
|
||||
|
|
|
@ -161,7 +161,7 @@ class link_task(Task.Task):
|
|||
nums = self.generator.vnum.split('.')
|
||||
if self.env.DEST_BINFMT == 'pe':
|
||||
# include the version in the dll file name,
|
||||
# the import lib file name stays unversionned.
|
||||
# the import lib file name stays unversioned.
|
||||
name = name + '-' + nums[0]
|
||||
elif self.env.DEST_OS == 'openbsd':
|
||||
pattern = '%s.%s' % (pattern, nums[0])
|
||||
|
|
|
@ -281,7 +281,7 @@ def _parse_flink_token(lexer, token, tmp_flags):
|
|||
elif POSIX_LIB_FLAGS.match(token):
|
||||
tmp_flags.append(token)
|
||||
else:
|
||||
# ignore anything not explicitely taken into account
|
||||
# ignore anything not explicitly taken into account
|
||||
pass
|
||||
|
||||
t = lexer.get_token()
|
||||
|
|
|
@ -20,7 +20,7 @@ def find_crayftn(conf):
|
|||
@conf
|
||||
def crayftn_flags(conf):
|
||||
v = conf.env
|
||||
v['_FCMODOUTFLAGS'] = ['-em', '-J.'] # enable module files and put them in the current directoy
|
||||
v['_FCMODOUTFLAGS'] = ['-em', '-J.'] # enable module files and put them in the current directory
|
||||
v['FCFLAGS_DEBUG'] = ['-m1'] # more verbose compiler warnings
|
||||
v['FCFLAGS_fcshlib'] = ['-h pic']
|
||||
v['LINKFLAGS_fcshlib'] = ['-h shared']
|
||||
|
|
|
@ -20,7 +20,7 @@ def find_sxfc(conf):
|
|||
@conf
|
||||
def sxfc_flags(conf):
|
||||
v = conf.env
|
||||
v['_FCMODOUTFLAGS'] = [] # enable module files and put them in the current directoy
|
||||
v['_FCMODOUTFLAGS'] = [] # enable module files and put them in the current directory
|
||||
v['FCFLAGS_DEBUG'] = [] # more verbose compiler warnings
|
||||
v['FCFLAGS_fcshlib'] = []
|
||||
v['LINKFLAGS_fcshlib'] = []
|
||||
|
|
|
@ -147,7 +147,7 @@ def newid():
|
|||
Represents a tree node in the XCode project plist file format.
|
||||
When written to a file, all attributes of XCodeNode are stringified together with
|
||||
its value. However, attributes starting with an underscore _ are ignored
|
||||
during that process and allows you to store arbitray values that are not supposed
|
||||
during that process and allows you to store arbitrary values that are not supposed
|
||||
to be written out.
|
||||
"""
|
||||
class XCodeNode(object):
|
||||
|
@ -247,7 +247,7 @@ class PBXBuildFile(XCodeNode):
|
|||
# fileRef is a reference to a PBXFileReference object
|
||||
self.fileRef = fileRef
|
||||
|
||||
# A map of key/value pairs for additionnal settings.
|
||||
# A map of key/value pairs for additional settings.
|
||||
self.settings = settings
|
||||
|
||||
def __hash__(self):
|
||||
|
@ -435,8 +435,8 @@ class PBXProject(XCodeNode):
|
|||
def create_target_dependency(self, target, name):
|
||||
""" : param target : PXBNativeTarget """
|
||||
proxy = PBXContainerItemProxy(self, target, name)
|
||||
dependecy = PBXTargetDependency(target, proxy)
|
||||
return dependecy
|
||||
dependency = PBXTargetDependency(target, proxy)
|
||||
return dependency
|
||||
|
||||
def write(self, file):
|
||||
|
||||
|
|
Loading…
Reference in New Issue