2019-07-27 16:58:55 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
2019-07-28 13:37:33 +00:00
|
|
|
from cpt.packager import ConanMultiPackager
|
2019-07-27 16:58:55 +00:00
|
|
|
|
|
|
|
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
|
2019-07-27 16:58:55 +00:00
|
|
|
builder.run()
|