github.com/tomsquest/goreleaser@v0.34.3-0.20171008022654-7d6ef4d338b3/pipeline/brew/testdata/test.rb (about) 1 class Test < Formula 2 desc "Some desc" 3 homepage "https://google.com" 4 url "https://github.com/caarlos0/test/releases/download/v0.1.3/test_Darwin_x86_64.tar.gz" 5 version "0.1.3" 6 sha256 "1633f61598ab0791e213135923624eb342196b3494909c91899bcd0560f84c68" 7 8 depends_on "gtk+" 9 conflicts_with "svn" 10 11 def install 12 custom install script 13 another install script 14 end 15 16 def caveats 17 "Here are some caveats" 18 end 19 20 plist_options :startup => false 21 22 def plist; <<-EOS.undent 23 it works 24 EOS 25 end 26 27 test do 28 system "#{bin}/foo -version" 29 end 30 end