0 Star 0 Fork 0

sueking/brew

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Rename-A-Formula.md 757 Bytes
一键复制 编辑 原始数据 按行查看 历史

Renaming a Formula

Sometimes software and formulae need to be renamed. To rename a formula you need to:

  1. Rename the formula file and its class to a new formula. The new name must meet all the usual rules of formula naming. Fix any test failures that may occur due to the stricter requirements for new formulae than existing formulae (i.e. brew audit --strict must pass for that formula).

  2. Create a pull request to the corresponding tap deleting the old formula file, adding the new formula file, and adding it to formula_renames.json with a commit message like newack: renamed from ack. Use the canonical name (e.g. ack instead of user/repo/ack).

A formula_renames.json example for a formula rename:

{
  "ack": "newack"
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/sueking/brew.git
git@gitee.com:sueking/brew.git
sueking
brew
brew
master

搜索帮助

371d5123 14472233 46e8bd33 14472233