Open mrjones2014 opened 2 years ago
Might be able to do something like this: https://federicoterzi.com/blog/how-to-publish-your-rust-project-on-homebrew/
Just need to figure out how to do different binaries for different platforms.
Maybe we can just put all the binaries into a single tar.gz archive then rename it during install by checking platform, e.g. (pseudocode)
if (is macOS x86)
bin.install "ctrlg-macos-x86" => "ctrlg"
else if (is macOS ARM)
bin.install "ctrlg-macos-arm" => "ctrlg"
else
bin.install "ctrlg-linux-x86" => "ctrlg"
end
Similar Issues
Description
We should publish to Homebrew. I haven't really done this before. Will require some research or some help from others.
Use Case
So that people can install from
brew
without needing to install arust
toolchain manually.