Homebrew tap for inkkit tools.
brew tap inkkit/tap
brew install pdfbro| Formula | Description |
|---|---|
| pdfbro | Rust-native PDF CLI — convert HTML, URLs, Markdown and Office docs to PDF |
-
Build cross-platform binaries:
cargo build --release --target aarch64-apple-darwin cargo build --release --target x86_64-apple-darwin cargo build --release --target aarch64-unknown-linux-gnu cargo build --release --target x86_64-unknown-linux-gnu
-
Package each binary:
tar -czf pdfbro-aarch64-apple-darwin.tar.gz -C target/aarch64-apple-darwin/release pdfbro # repeat for each target -
Create a GitHub release at https://github.com/inkkit/pdfbro/releases/new and upload the tarballs.
-
Get sha256 checksums:
shasum -a 256 pdfbro-*.tar.gz -
Update
Formula/pdfbro.rb— bumpversionand fill in thesha256values. -
Commit and push:
git add Formula/pdfbro.rb git commit -m "pdfbro v<VERSION>" git push