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 871a615c06
template ok
2017-07-16 15:21:49 -03:00

31 lines
569 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