How to use the conan.build_info.conan_build_info.BuildInfoManager function in conan

To help you get started, we’ve selected a few conan examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github conan-io / conan-package-tools / conan / build_info / command.py View on Github external
parser.add_argument('trace_path', help='Path to the conan trace log file e.j: '
                                           '/tmp/conan_trace.log')

    parser.add_argument('--env', nargs=1, action=Extender, help='Capture env var as a build env var e.j: --env CONAN_HOME')

    args = parser.parse_args()

    if not os.path.exists(args.trace_path):
        print("Error, conan trace log not found! '%s'" % args.trace_path)
        exit(1)

    print("asasd")
    print(args.env)
    exit(1)

    manager = BuildInfoManager()
    info = manager.build(args.trace_path, args.build_name, args.build_number, args.env)
    manager.send(info, args.artifactory_url, args.repo_name, args.user, args.password)