-
Notifications
You must be signed in to change notification settings - Fork 4
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 nanoproxy version v0.8.2
- Loading branch information
1 parent
d4de277
commit 315c8d6
Showing
1 changed file
with
48 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,48 @@ | ||
# typed: false | ||
# frozen_string_literal: true | ||
|
||
# This file was generated by GoReleaser. DO NOT EDIT. | ||
class Nanoproxy < Formula | ||
desc "nanoproxy is a simple reverse proxy written in Go." | ||
homepage "https://github.com/ryanbekhen/nanoproxy" | ||
version "0.8.2" | ||
license "MIT" | ||
|
||
on_macos do | ||
if Hardware::CPU.intel? | ||
url "https://github.com/ryanbekhen/nanoproxy/releases/download/v0.8.2/nanoproxy_darwin_amd64.tar.gz" | ||
sha256 "e5e87c79e01a8553a9277079b3d5a5af758fb42dfed790ace64a532c3472b4ad" | ||
|
||
def install | ||
bin.install "nanoproxy" | ||
end | ||
end | ||
if Hardware::CPU.arm? | ||
url "https://github.com/ryanbekhen/nanoproxy/releases/download/v0.8.2/nanoproxy_darwin_arm64.tar.gz" | ||
sha256 "19cdb953e62aa01f00aeb9db731ea36c88738c4bd03de23a28bf79f201c82b12" | ||
|
||
def install | ||
bin.install "nanoproxy" | ||
end | ||
end | ||
end | ||
|
||
on_linux do | ||
if Hardware::CPU.intel? | ||
url "https://github.com/ryanbekhen/nanoproxy/releases/download/v0.8.2/nanoproxy_linux_amd64.tar.gz" | ||
sha256 "a05604d35f9f88b6619309ceb08c66b02fdfd2c7450cfd787555f664c5b32169" | ||
|
||
def install | ||
bin.install "nanoproxy" | ||
end | ||
end | ||
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit? | ||
url "https://github.com/ryanbekhen/nanoproxy/releases/download/v0.8.2/nanoproxy_linux_arm64.tar.gz" | ||
sha256 "7cf23a796604c5157c3524223965be79c238f7a55349fb9cead19f4d23941080" | ||
|
||
def install | ||
bin.install "nanoproxy" | ||
end | ||
end | ||
end | ||
end |