()
| 2431 | |
| 2432 | |
| 2433 | def get_installed_sdk_version(): |
| 2434 | version_file = sdk_path(os.path.join('upstream', '.emsdk_version')) |
| 2435 | if not os.path.exists(version_file): |
| 2436 | return None |
| 2437 | with open(version_file) as f: |
| 2438 | version = f.read() |
| 2439 | return version.split('-')[1] |
| 2440 | |
| 2441 | |
| 2442 | # Get a list of tags for emscripten-releases. |
no test coverage detected