Movatterモバイル変換


[0]ホーム

URL:


Homebrew Documentation logo

Homebrew Documentation

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 name. 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 compared to existing formulae (e.g.brew audit --strict must pass for that formula).

  2. Create a pull request on the corresponding tap deleting the old formula file, adding the new formula file, and adding it toformula_renames.json with a commit message likenewack: renamed from ack. Use the canonical name (e.g.ack instead ofuser/repo/ack).

Aformula_renames.json example for a formula rename:

{"ack":"newack"}
Fork me on GitHub
[8]ページ先頭

©2009-2025 Movatter.jp