/
githubmirror
/
carbon-lang
Обзор
Документация
Войти
/
githubmirror
/
carbon-lang
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
trunk
scripts/run_bazelisk.py
28 строк
568 B
Chandler Carruth
Switch a few stragglers to `uv` and update python to 3.12 (#7296)
03 июн 2026, 08:34
Не верифицирован
03 июн 2026, 08:34
b344f3a
Код
Авторство
О чём код?
#!/usr/bin/env -S uv run --script # /// script # requires-python = ">=3.12" # /// """Runs bazelisk with arbitrary arguments.""" __copyright__ = """ Part of the Carbon Language project, under the Apache License v2.0 with LLVM Exceptions. See /LICENSE for license information. SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception """ import os import sys import scripts_utils def main() -> None: bazelisk = scripts_utils.get_release(scripts_utils.Release.BAZELISK) os.execv(bazelisk, [bazelisk] + sys.argv[1:]) if __name__ == "__main__": main()