Skip to content
Snippets Groups Projects
Commit b7bdb413 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

Merge branch 'conda' into 'master'

Handle changes in the output of conda render

Closes #56

See merge request bob/bob.conda!370
parents 0d62404b a965f402
Branches
No related tags found
1 merge request!370Handle changes in the output of conda render
Pipeline #
......@@ -44,7 +44,10 @@ def get_rendered_recipe(build_config, path):
cmd = [conda, 'render', '--variant-config-files', build_config, path]
print('$ %s' % ' '.join(cmd))
output = subprocess.check_output(cmd)
from conda_build.api import get_or_merge_config, render, output_yaml
config = get_or_merge_config(None, variant_config_files=build_config)
metadata = render(path, config=config)
output = output_yaml(metadata[0][0])
return yaml.load(output)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment