nameof_module/build.py

18 lines
628 B
Python
Raw Normal View History

#!/usr/bin/env python
# -*- coding: utf-8 -*-
2019-07-28 13:37:33 +00:00
from cpt.packager import ConanMultiPackager
if __name__ == "__main__":
2019-07-28 13:37:33 +00:00
builder = ConanMultiPackager()
builder.add_common_builds()
updated_builds = []
for settings, options, env_vars, build_requires, reference in builder.items:
options['prometheus-cpp:mode'] = 'pull'
updated_builds.append([settings, options, env_vars, build_requires])
options = options.copy()
options['prometheus-cpp:mode'] = 'push'
updated_builds.append([settings, options, env_vars, build_requires])
builder.builds = updated_builds
builder.run()