(oldtag: str)
| 24 | |
| 25 | |
| 26 | def setup_emscripten(oldtag: str) -> None: |
| 27 | if not EMSCRIPTEN.exists(): |
| 28 | run( |
| 29 | ["git", "clone", "git@github.com:emscripten-core/emscripten.git"], |
| 30 | cwd=EMSCRIPTEN.parent, |
| 31 | ) |
| 32 | run(["git", "fetch", "origin", "--tags", "--force"], cwd=EMSCRIPTEN) |
| 33 | run(["git", "config", "rerere.enabled", "true"], cwd=EMSCRIPTEN) |
| 34 | run(["git", "config", "rerere.autoupdate", "true"], cwd=EMSCRIPTEN) |
| 35 | |
| 36 | |
| 37 | def rebase(oldtag: str, newtag: str) -> None: |