We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ab073fc + 0a2ff64 commit 52e748cCopy full SHA for 52e748c
conda_build_all/build.py
@@ -19,12 +19,19 @@
19
def build(meta, test=True):
20
"""Build (and optionally test) a recipe directory."""
21
with Locked(conda_build.config.croot):
22
+ # Check whether verbose is a module-level variable in
23
+ # this version of conda_build and set it properly if it is.
24
+ if 'verbose' in dir(build_module):
25
+ build_module.verbose = False
26
+ kwd = {}
27
+ else:
28
+ kwd = {'verbose': False}
29
meta.check_fields()
30
if os.path.exists(conda_build.config.config.info_dir):
31
shutil.rmtree(conda_build.config.config.info_dir)
- build_module.build(meta, verbose=False, post=None)
32
+ build_module.build(meta, post=None, **kwd)
33
if test:
- build_module.test(meta, verbose=False)
34
+ build_module.test(meta, **kwd)
35
return meta
36
37
0 commit comments