Closed AbrilRBS closed 5 months ago
import os import subprocess profiles_path = "/conan-center-index/profiles/" profiles = os.listdir(profiles_path) for profile in profiles: subprocess.run(["conan", "graph", "info", ".", '--update="*"', f"-pr:a={profiles_path}/{profile}", "-s:a=compiler.cppstd=17", "-r=conancenter", f"--lockfile-out=lockfiles/{profile}.lock"]) subprocess.run(["conan", "lock", "merge", "--lockfile-out=conan.lock"] + [f"--lockfile=lockfiles/{profile}.lock" for profile in profiles])