mirror of
https://github.com/Homebrew/brew.git
synced 2024-11-25 16:33:34 +08:00
a542ef9b7d
Some checks are pending
CodeQL / Analyze (push) Waiting to run
Docker / docker (Ubuntu ${{ matrix.version }}) (18.04) (push) Waiting to run
Docker / docker (Ubuntu ${{ matrix.version }}) (20.04) (push) Waiting to run
Docker / docker (Ubuntu ${{ matrix.version }}) (22.04) (push) Waiting to run
Docker / docker (Ubuntu ${{ matrix.version }}) (24.04) (push) Waiting to run
Documentation CI / docs (push) Waiting to run
Ruby Documentation CI / rubydoc (push) Waiting to run
CI / syntax (push) Waiting to run
CI / tap syntax (push) Blocked by required conditions
CI / formula audit (push) Blocked by required conditions
CI / cask audit (push) Blocked by required conditions
CI / vendored gems (push) Blocked by required conditions
CI / ${{ matrix.name }} (update-test (Ubuntu), ubuntu-latest) (push) Blocked by required conditions
CI / ${{ matrix.name }} (update-test (macOS), macos-15) (push) Blocked by required conditions
CI / ${{ matrix.name }} (tests (Ubuntu 20.04), ubuntu-20.04, --coverage) (push) Blocked by required conditions
CI / ${{ matrix.name }} (tests (Ubuntu 22.04), ubuntu-22.04, --coverage) (push) Blocked by required conditions
CI / ${{ matrix.name }} (tests (Ubuntu 24.04), ubuntu-24.04, --coverage) (push) Blocked by required conditions
CI / ${{ matrix.name }} (tests (generic OS), ubuntu-latest, --generic --coverage) (push) Blocked by required conditions
CI / ${{ matrix.name }} (tests (macOS 13 x86_64), macos-13, --coverage) (push) Blocked by required conditions
CI / ${{ matrix.name }} (tests (macOS 15 arm64), macos-15, --coverage) (push) Blocked by required conditions
CI / ${{ matrix.name }} (tests (online), ubuntu-latest, --online --coverage) (push) Blocked by required conditions
CI / ${{ matrix.name }} (ghcr.io/homebrew/ubuntu20.04, test default formula (Ubuntu 20.04), ubuntu-latest) (push) Blocked by required conditions
CI / ${{ matrix.name }} (ghcr.io/homebrew/ubuntu22.04:master, test default formula (Ubuntu 22.04), ubuntu-latest) (push) Blocked by required conditions
CI / ${{ matrix.name }} (test default formula (macOS 13 x86_64), macos-13) (push) Blocked by required conditions
CI / ${{ matrix.name }} (test default formula (macOS 15 arm64), macos-15) (push) Blocked by required conditions
Remove problematic :final from Requirement sigs |
||
---|---|---|
.. | ||
.bundle | ||
api | ||
cask | ||
cli | ||
cmake | ||
cmd | ||
completions | ||
data | ||
debrew | ||
dev-cmd | ||
extend | ||
language | ||
livecheck | ||
manpages | ||
os | ||
requirements | ||
rubocops | ||
shims | ||
sorbet | ||
standalone | ||
startup | ||
test | ||
unpack_strategy | ||
utils | ||
vendor | ||
version | ||
yard | ||
.rspec_parallel | ||
.rubocop.yml | ||
.ruby-version | ||
.simplecov | ||
.yardopts | ||
abstract_command.rb | ||
api.rb | ||
ast_constants.rb | ||
attestation.rb | ||
attrable.rb | ||
brew_irbrc | ||
brew.rb | ||
brew.sh | ||
build_environment.rb | ||
build_options.rb | ||
build.rb | ||
bump_version_parser.rb | ||
bundle_version.rb | ||
cache_store.rb | ||
cask_dependent.rb | ||
cask.rb | ||
caveats.rb | ||
checksum.rb | ||
cleaner.rb | ||
cleanup.rb | ||
command_path.sh | ||
commands.rb | ||
compilers.rb | ||
completions.rb | ||
context.rb | ||
cxxstdlib.rb | ||
debrew.rb | ||
dependable.rb | ||
dependencies_helpers.rb | ||
dependencies.rb | ||
dependencies.rbi | ||
dependency_collector.rb | ||
dependency.rb | ||
deprecate_disable.rb | ||
description_cache_store.rb | ||
descriptions.rb | ||
development_tools.rb | ||
diagnostic.rb | ||
download_queue.rb | ||
download_strategy.rb | ||
download_strategy.rbi | ||
downloadable.rb | ||
env_config.rb | ||
exceptions.rb | ||
fetch.rb | ||
formula_assertions.rb | ||
formula_auditor.rb | ||
formula_cellar_checks.rb | ||
formula_creator.rb | ||
formula_free_port.rb | ||
formula_info.rb | ||
formula_installer.rb | ||
formula_name_cask_token_auditor.rb | ||
formula_path.sh | ||
formula_pin.rb | ||
formula_support.rb | ||
formula_versions.rb | ||
formula.rb | ||
formula.rbi | ||
formulary.rb | ||
formulary.rbi | ||
Gemfile | ||
Gemfile.lock | ||
git_repository.rb | ||
github_packages.rb | ||
github_releases.rb | ||
github_runner_matrix.rb | ||
github_runner.rb | ||
global.rb | ||
hardware.rb | ||
help.rb | ||
help.sh | ||
ignorable.rb | ||
ignorable.rbi | ||
install_renamed.rb | ||
install.rb | ||
installed_dependents.rb | ||
items.sh | ||
keg_relocate.rb | ||
keg.rb | ||
keg.rbi | ||
lazy_object.rb | ||
linkage_cache_store.rb | ||
linkage_checker.rb | ||
linux_runner_spec.rb | ||
linuxbrew-core-migration.rb | ||
list.sh | ||
livecheck.rb | ||
locale.rb | ||
lock_file.rb | ||
macos_runner_spec.rb | ||
macos_version.rb | ||
manpages.rb | ||
messages.rb | ||
metafiles.rb | ||
migrator.rb | ||
missing_formula.rb | ||
mktemp.rb | ||
official_taps.rb | ||
options.rb | ||
options.rbi | ||
os.rb | ||
patch.rb | ||
PATH.rb | ||
pkg_version.rb | ||
pkg_version.rbi | ||
postinstall.rb | ||
readall.rb | ||
README.md | ||
reinstall.rb | ||
requirement.rb | ||
requirements.rb | ||
resource_auditor.rb | ||
resource.rb | ||
retryable_download.rb | ||
rubocops.rb | ||
sandbox.rb | ||
sbom.rb | ||
search.rb | ||
service.rb | ||
service.rbi | ||
settings.rb | ||
shell_command.rb | ||
simulate_system.rb | ||
software_spec.rb | ||
source_location.rb | ||
standalone.rb | ||
startup.rb | ||
style.rb | ||
system_command.rb | ||
system_config.rb | ||
tab.rb | ||
tap_auditor.rb | ||
tap_constants.rb | ||
tap.rb | ||
tap.sh | ||
test_runner_formula.rb | ||
test.rb | ||
uninstall.rb | ||
unlink.rb | ||
unpack_strategy.rb | ||
unversioned_cask_checker.rb | ||
upgrade.rb | ||
url.rb | ||
utils.rb | ||
version.rb | ||
warnings.rb |
Homebrew Ruby API
This is the API for Homebrew.
The main class you should look at is the {Formula} class (and classes linked from there). That's the class that's used to create Homebrew formulae (i.e. package descriptions). Assume anything else you stumble upon is private.
You may also find the Formula Cookbook and Ruby Style Guide helpful in creating formulae.
Good luck!