Formula Maintenance
Formula Types
Source-build (Rust/CMake, compile on install):
xberg.rb,alef.rb,crawlberg.rb— build from tarball viacargo install
Binary-only (pre-built platform-specific artifacts):
xberg-ffi.rb,libhtml-to-markdown.rb— install pre-compiled.dylib/.so/.a+ headers
Version Bump Checklist
- Update
urlandversionfields - Update
sha256for source tarball or per-platform binary tarballs - For bottles: run
scripts/build-bottles.sh, update bottlesha256values from output - Verify
root_urlpoints to correct GitHub release tag
scripts/build-bottles.sh
- Canonical script for building bottles on current platform
- Runs
brew install --build-bottlethenbrew bottle - Must be run on each target platform separately
- Output includes sha256 hashes to paste into formula's
bottle doblock