1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-02-03 13:11:48 +02:00
goreleaser/internal/pipeline/brew/testdata/custom_download_strategy.rb.golden

35 lines
685 B
Plaintext
Raw Normal View History

class CustomDownloadStrategy < Formula
2017-07-16 16:02:26 -03:00
desc "A run pipe test formula"
homepage "https://github.com/goreleaser"
url "https://github.com/test/test/releases/download/v1.0.1/bin.tar.gz", :using => GitHubPrivateRepositoryReleaseDownloadStrategy
2017-07-16 16:02:26 -03:00
version "1.0.1"
sha256 "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
2018-04-03 21:13:17 -03:00
depends_on "zsh"
depends_on "bash"
2017-07-16 16:02:26 -03:00
conflicts_with "gtk+"
conflicts_with "qt"
2017-07-16 16:02:26 -03:00
def install
bin.install "foo"
end
def caveats; <<~EOS
don't do this
EOS
2017-07-16 16:02:26 -03:00
end
plist_options :startup => false
def plist; <<~EOS
2017-07-16 16:02:26 -03:00
<xml>whatever</xml>
EOS
2017-07-16 16:02:26 -03:00
end
test do
system "true"
system "#{bin}/foo -h"
end
end