-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Brew formula update for amock version v0.1.1
- Loading branch information
1 parent
fe3e891
commit 27281ba
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |