Bug 1799526 - mots: remove or update old paths r=zeid DONTBUILD
Script to detect this ``` import yaml import glob yaml_file = open("mots.yaml", 'r') yaml_content = yaml.load(yaml_file) yaml_content = yaml_content['modules'] dirs = [] for key in yaml_content: if "includes" in key: if key['includes'] is not None: dirs = dirs + key['includes'] if "submodules" in key: for key2 in key["submodules"]: if "includes" in key2: dirs = dirs + key2['includes'] print(dirs) for d in dirs: d=d.replace("/**/*", "") if not glob.glob(d): print(d + " doesn't exist") ``` Differential Revision: https://phabricator.services.mozilla.com/D161513
Loading
Please register or sign in to comment