1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-10 03:47:03 +02:00
goreleaser/pipeline/brew/testdata/test.rb
Carlos Alexandro Becker adc2d7d4c5 fix: dependencies and conflicts on brew tap
They were being inlined, generating an invalid receipt.

closes #416
2017-11-13 18:02:25 -02:00

32 lines
574 B
Ruby

class Test < Formula
desc "Some desc"
homepage "https://google.com"
url "https://github.com/caarlos0/test/releases/download/v0.1.3/test_Darwin_x86_64.tar.gz"
version "0.1.3"
sha256 "1633f61598ab0791e213135923624eb342196b3494909c91899bcd0560f84c68"
depends_on "gtk+"
conflicts_with "svn"
def install
custom install script
another install script
end
def caveats
"Here are some caveats"
end
plist_options :startup => false
def plist; <<-EOS.undent
it works
EOS
end
test do
system "#{bin}/foo -version"
end
end