Skip to content

Commit

Permalink
Brew formula update for slack-proxy version v0.1.1-pre1
Browse files Browse the repository at this point in the history
  • Loading branch information
goreleaserbot committed Oct 22, 2023
1 parent 2818a70 commit f462ef9
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions Formula/slack-proxy.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# typed: false

Check failure on line 1 in Formula/slack-proxy.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-latest)

Stable: version 0.1.1-pre1 is redundant with version scanned from URL
# frozen_string_literal: true

# This file was generated by GoReleaser. DO NOT EDIT.
class SlackProxy < Formula
desc "Slack proxy"

Check failure on line 6 in Formula/slack-proxy.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-latest)

FormulaAudit/Desc: Description shouldn't start with the formula name.
homepage "https://fortio.org/"
version "0.1.1-pre1"
license "Apache-2.0"

on_macos do
if Hardware::CPU.arm?
url "https://github.com/fortio/slack-proxy/releases/download/v0.1.1-pre1/slack-proxy_0.1.1-pre1_darwin_arm64.tar.gz"
sha256 "646a0fb55328e1916ee6af2bc462ba28236f0a2a68551e7ef8649513d65e3dd9"

def install
bin.install "slack-proxy"
end
end
if Hardware::CPU.intel?
url "https://github.com/fortio/slack-proxy/releases/download/v0.1.1-pre1/slack-proxy_0.1.1-pre1_darwin_amd64.tar.gz"
sha256 "ef1f0ed18ed75f46e82b67ba866858c2b9c4308dd7b5a7f9a99b5c27fcbfa4f7"

def install
bin.install "slack-proxy"
end
end
end

on_linux do
if Hardware::CPU.intel?
url "https://github.com/fortio/slack-proxy/releases/download/v0.1.1-pre1/slack-proxy_0.1.1-pre1_linux_amd64.tar.gz"
sha256 "46cc7ed06e8dea0d7ecd7c11216f43768c6b55d59036e1c388759276de04c1b6"

def install
bin.install "slack-proxy"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/fortio/slack-proxy/releases/download/v0.1.1-pre1/slack-proxy_0.1.1-pre1_linux_arm64.tar.gz"
sha256 "4d48eb4009cad85eadb5f6e720c8beff30f9a0af774dec5028eb6ae3d6b22c1f"

def install
bin.install "slack-proxy"
end
end
end

test do
assert_match version.to_s, shell_output("#{bin}/slack-proxy -version")
end
end

0 comments on commit f462ef9

Please sign in to comment.