# typed: false
# frozen_string_literal: true

# This file was generated by GoReleaser. DO NOT EDIT.
class Test < Formula
  desc "Some desc"
  homepage "https://google.com"
  version "0.1.3"
  depends_on :linux

  if Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
    url "https://github.com/caarlos0/test/releases/download/v0.1.3/test_Linux_x86_64.tar.gz"
    sha256 "1633f61598ab0791e213135923624eb342196b3494909c91899bcd0560f84c67"
    define_method(:install) do
      bin.install "test"
    end
  end
  if Hardware::CPU.arm? && !Hardware::CPU.is_64_bit?
    url "https://github.com/caarlos0/test/releases/download/v0.1.3/test_Arm6.tar.gz"
    sha256 "1633f61598ab0791e213135923624eb342196b3494909c91899bcd0560f84c67"
    define_method(:install) do
      bin.install "test"
    end
  end
  if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
    url "https://github.com/caarlos0/test/releases/download/v0.1.3/test_Arm64.tar.gz"
    sha256 "1633f61598ab0791e213135923624eb342196b3494909c91899bcd0560f84c67"
    define_method(:install) do
      bin.install "test"
    end
  end
end
