Skip to content
Snippets Groups Projects
Commit da05318f authored by Sylvestre Ledru's avatar Sylvestre Ledru
Browse files

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
parent 128f33ee
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment