gitee.com/mirrors_opencollective/goreleaser@v0.45.0/pipeline/brew/testdata/test.rb.golden (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 10 conflicts_with "svn" 11 12 def install 13 custom install script 14 another install script 15 end 16 17 def caveats 18 "Here are some caveats" 19 end 20 21 plist_options :startup => false 22 23 def plist; <<-EOS.undent 24 it works 25 EOS 26 end 27 28 test do 29 system "#{bin}/foo -version" 30 end 31 end