# typed: false # frozen_string_literal: true # This file was generated by GoReleaser. DO NOT EDIT. class Ah < Formula desc "Artifact Hub command line tool" homepage "https://github.com/artifacthub/hub" version "1.16.0" license "Apache-2.0" on_macos do if Hardware::CPU.arm? url "https://github.com/artifacthub/hub/releases/download/v1.16.0/ah_1.16.0_macos_arm64.tar.gz" sha256 "fdcb9b597d240bae28fabd9a780ef8a39fa36560c9b1762ac6faf59729e029e1" def install bin.install "ah" end end if Hardware::CPU.intel? url "https://github.com/artifacthub/hub/releases/download/v1.16.0/ah_1.16.0_macos_amd64.tar.gz" sha256 "78f4b0ada105d43afad32f380137ea0851b69ce6b55370ad435910ecb6f23c31" def install bin.install "ah" end end end on_linux do if Hardware::CPU.arm? && Hardware::CPU.is_64_bit? url "https://github.com/artifacthub/hub/releases/download/v1.16.0/ah_1.16.0_linux_arm64.tar.gz" sha256 "83cc902544e1fa147a88abe514417f573637ab21411467886797b8d960e2d8c3" def install bin.install "ah" end end if Hardware::CPU.intel? url "https://github.com/artifacthub/hub/releases/download/v1.16.0/ah_1.16.0_linux_amd64.tar.gz" sha256 "d5955b409361922f609c261bf4b124c4d8ecd294cf85e5fee11c2ba774d45366" def install bin.install "ah" end end end end