gitee.com/mirrors_opencollective/goreleaser@v0.45.0/pipeline/brew/testdata/run_pipe_enterprise.rb.golden (about) 1 class RunPipe < Formula 2 desc "A run pipe test formula" 3 homepage "https://github.com/goreleaser" 4 url "http://github.example.org/test/test/releases/download/v1.0.1/bin.tar.gz" 5 version "1.0.1" 6 sha256 "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" 7 8 depends_on "zsh" 9 depends_on "bash" 10 11 conflicts_with "gtk+" 12 conflicts_with "qt" 13 14 def install 15 bin.install "foo" 16 end 17 18 def caveats 19 "don't do this" 20 end 21 22 plist_options :startup => false 23 24 def plist; <<-EOS.undent 25 <xml>whatever</xml> 26 EOS 27 end 28 29 test do 30 system "true" 31 system "#{bin}/foo -h" 32 end 33 end