Skip to content

Commit

Permalink
Brew formula update for amock version v0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
matronator committed Apr 9, 2024
1 parent fe3e891 commit 27281ba
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions Formula/amock.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# typed: false
# frozen_string_literal: true

# This file was generated by GoReleaser. DO NOT EDIT.
class Amock < Formula
desc "A simple mock server for REST APIs."
homepage "https://github.com/matronator/amock"
version "0.1.1"
license "MIT"

depends_on "git"
depends_on "go"

on_macos do
if Hardware::CPU.intel?
url "https://github.com/matronator/amock/releases/download/v0.1.1/amock_Darwin_x86_64.tar.gz"
sha256 "364736c59026dd755f4a00b1baac1f6e6b867b185f128da8de6f68ad7027c5cd"

def install
bin.install "amock"
end
end
if Hardware::CPU.arm?
url "https://github.com/matronator/amock/releases/download/v0.1.1/amock_Darwin_arm64.tar.gz"
sha256 "5d3e0c3404e54be93ae4f4500b99226ab0e683c6b7f19bcc40f12d5f95eee521"

def install
bin.install "amock"
end
end
end

on_linux do
if Hardware::CPU.intel?
url "https://github.com/matronator/amock/releases/download/v0.1.1/amock_Linux_x86_64.tar.gz"
sha256 "38ed539f59c47000c48c1431c6740c9a8c2cd2a00fb34c857ff1896c4b8a5b45"

def install
bin.install "amock"
end
end
end
end

0 comments on commit 27281ba

Please sign in to comment.