(path)
| 93 | |
| 94 | # helper to define paths relative to the repo root |
| 95 | def RepoRelative(path): |
| 96 | return os.path.abspath(os.path.join(os.path.dirname(__file__), '..', path)) |
| 97 | |
| 98 | # Runs a command in a directory and returns its return code. |
| 99 | # Directory is project root by default, or a relative path from project root |