mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-24 04:16:27 +02:00
1ef9906e04
* feat: multiple brew / linuxbrew * feat: multiple brew / linuxbrew * test: added missing tests * docs: brews * docs: deprecate brew * test: fix tests * fix: fmt * test: fix tests
45 lines
1.0 KiB
Plaintext
45 lines
1.0 KiB
Plaintext
# This file was generated by GoReleaser. DO NOT EDIT.
|
|
class Test < Formula
|
|
desc "Some desc"
|
|
homepage "https://google.com"
|
|
version "0.1.3"
|
|
|
|
if OS.mac?
|
|
url "https://github.com/caarlos0/test/releases/download/v0.1.3/test_Darwin_x86_64.tar.gz"
|
|
sha256 "1633f61598ab0791e213135923624eb342196b3494909c91899bcd0560f84c68"
|
|
elsif OS.linux?
|
|
url "https://github.com/caarlos0/test/releases/download/v0.1.3/test_Linux_x86_64.tar.gz"
|
|
sha256 "1633f61598ab0791e213135923624eb342196b3494909c91899bcd0560f84c67"
|
|
end
|
|
|
|
devel do
|
|
url "https://github.com/caarlos0/test/releases/download/v0.1.3/test_Darwin_x86_64.tar.gz"
|
|
sha256 "1633f61598ab0791e213135923624eb342196b3494909c91899bcd0560f84c68"
|
|
end
|
|
|
|
depends_on "gtk+"
|
|
|
|
conflicts_with "svn"
|
|
|
|
def install
|
|
custom install script
|
|
another install script
|
|
end
|
|
|
|
def caveats; <<~EOS
|
|
Here are some caveats
|
|
EOS
|
|
end
|
|
|
|
plist_options :startup => false
|
|
|
|
def plist; <<~EOS
|
|
it works
|
|
EOS
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/foo -version"
|
|
end
|
|
end
|