github.com/amane3/goreleaser@v0.182.0/internal/pipe/brew/testdata/binary_overridden.rb.golden (about) 1 # This file was generated by GoReleaser. DO NOT EDIT. 2 class BinaryOverridden < Formula 3 desc "A run pipe test formula" 4 homepage "https://github.com/goreleaser" 5 version "1.0.1" 6 if OS.mac? 7 url "https://github.com/test/test/releases/download/v1.0.1/bin.todo" 8 sha256 "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" 9 elsif OS.linux? 10 end 11 12 depends_on "zsh" => :optional 13 depends_on "bash" 14 15 conflicts_with "gtk+" 16 conflicts_with "qt" 17 18 def install 19 bin.install "foo" 20 end 21 22 def caveats; <<~EOS 23 don't do this 24 EOS 25 end 26 27 plist_options :startup => false 28 29 def plist; <<~EOS 30 <xml>whatever</xml> 31 EOS 32 end 33 34 test do 35 system "true" 36 system "#{bin}/foo -h" 37 end 38 end