versatiles-org / versatiles-rs

VersaTiles - A toolbox for converting, checking and serving map tiles in various formats.
https://versatiles.org
MIT License
57 stars 2 forks source link

Add to homebrew #30

Closed yetzt closed 1 year ago

yetzt commented 1 year ago

I'd like to brew install versatiles

MichaelKreil commented 1 year ago

Formulas like rustfmt, mdcat, jrsonnet, tinysearch or tealdeer implemented build and release workflows. The urls of the release files are then used for homebrew.

There are also some articles about Rust projects on Homebrew like: 1, 2, 3, 4

MichaelKreil commented 1 year ago

Ok, I managed to write a GitHub Action that automatically creates binaries for Linux (x86) and Mac (x86+ARM) and adds them to the latest release: https://github.com/versatiles-org/versatiles-rs/releases/tag/v0.5.6 (Workflow added with pull request #32 ) Could you figure out how to add them to Homebrew, @yetzt ?

yetzt commented 1 year ago

https://docs.brew.sh/Adding-Software-to-Homebrew

MichaelKreil commented 1 year ago

@yetzt can you verify that this binary runs on a Mac with an ARM processor? https://github.com/versatiles-org/versatiles-rs/releases/download/v0.5.7/versatiles-macos-aarch64.tar.gz

yetzt commented 1 year ago

macos is complaining about it not being signed, but it runs fine.

MichaelKreil commented 1 year ago

done ✅

brew tap versatiles-org/versatiles
brew install versatiles