1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-24 04:16:27 +02:00
goreleaser/internal/pipe/brew/testdata/custom_download_strategy.rb.golden
Lukas Malkmus f35534d9d7
feat: make generated brew formulas brew audit compatible (#1908) (#1911)
* feat: add license as first class config key to homebrew (#1908)

* feat: remove trailing whitespace from generated brew formula (#1908)
2020-11-26 10:06:47 -03:00

40 lines
836 B
Plaintext

# This file was generated by GoReleaser. DO NOT EDIT.
class CustomDownloadStrategy < Formula
desc "A run pipe test formula and FOO=foo_is_bar"
homepage "https://github.com/goreleaser"
version "1.0.1"
bottle :unneeded
if OS.mac?
url "https://dummyhost/download/v1.0.1/bin.tar.gz", :using => GitHubPrivateRepositoryReleaseDownloadStrategy
sha256 "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
end
depends_on "zsh" => :optional
depends_on "bash"
conflicts_with "gtk+"
conflicts_with "qt"
def install
bin.install "custom_download_strategy"
end
def caveats; <<~EOS
don't do this custom_download_strategy
EOS
end
plist_options :startup => false
def plist; <<~EOS
<xml>whatever</xml>
EOS
end
test do
system "true"
system "#{bin}/foo -h"
end
end