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