在 Windows 上维护 Bazel Scoop 软件包

报告问题 查看来源 Nightly · 8.3 · 8.2 · 8.1 · 8.0 · 7.6

前提条件

您需要:

发布流程

Scoop 软件包非常易于维护。获得已发布的 Bazel 的网址后,您需要在此文件中进行相应更改:

  • 更新版本
  • 根据需要更新依赖项
  • 更新网址
  • 更新哈希值(默认值为 sha256

在文件系统中,bazel.json 默认位于 %UserProfile%/scoop/buckets/main/bucket 目录中。此目录属于您克隆的 Git 代码库 scoopinstaller/scoop-main

测试结果:

scoop uninstall bazel
scoop install bazel
bazel version
bazel something_else

首次操作时,请派生 scoopinstaller/scoop-main,并将其指定为 %UserProfile%/scoop/buckets/main 的自有远程仓库:

git remote add mine FORK_URL

将更改推送到您的分支,然后创建拉取请求。