Open stiliajohny opened 2 weeks ago
Feel free - https://github.com/alexellis/homebrew-alexellis
@stiliajohny is this still something you want?
I've added kubetrim to my tap, but it's not tested, and ships an AMD64 binary, feel free to update it to include both architectures:
https://github.com/alexellis/homebrew-alexellis
Something like this:
class Arkade < Formula
desc "Open Source Marketplace For Developer Tools"
version "0.11.27"
on_macos do
if Hardware::CPU.arm?
url "https://github.com/alexellis/arkade/releases/download/0.11.27/arkade-darwin-arm64"
sha256 "YOUR_ARM64_SHA256"
def install
bin.install "arkade-darwin-arm64" => "arkade"
end
elsif Hardware::CPU.intel?
url "https://github.com/alexellis/arkade/releases/download/0.11.27/arkade-darwin-amd64"
sha256 "YOUR_AMD64_SHA256"
def install
bin.install "arkade-darwin-amd64" => "arkade"
end
end
end
end
have you consider homebrew support ?
happy to raise an PR