()
| 21 | |
| 22 | |
| 23 | def getXcodeBasePath(): |
| 24 | global XCODE_BASE_PATH |
| 25 | if XCODE_BASE_PATH is None: |
| 26 | try: |
| 27 | XCODE_BASE_PATH = subprocess.check_output( |
| 28 | ["xcode-select", "-p"] |
| 29 | ).rstrip().decode('utf8') |
| 30 | except subprocess.CalledProcessError: |
| 31 | XCODE_BASE_PATH = '/Applications/Xcode.app/Contents/Developer' |
| 32 | return XCODE_BASE_PATH |
| 33 | |
| 34 | |
| 35 | def isProjectRoot(directory): |
no outgoing calls
no test coverage detected