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