1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-02-09 13:36:56 +02:00

59 lines
1.6 KiB
Plaintext
Raw Normal View History

# This file was generated by GoReleaser. DO NOT EDIT.
2017-07-16 15:06:32 -03:00
class Test < Formula
desc "Some desc"
homepage "https://google.com"
version "0.1.3"
bottle :unneeded
if OS.mac?
url "https://github.com/caarlos0/test/releases/download/v0.1.3/test_Darwin_x86_64.tar.gz"
sha256 "1633f61598ab0791e213135923624eb342196b3494909c91899bcd0560f84c68"
end
if OS.linux? && Hardware::CPU.intel?
url "https://github.com/caarlos0/test/releases/download/v0.1.3/test_Linux_x86_64.tar.gz"
sha256 "1633f61598ab0791e213135923624eb342196b3494909c91899bcd0560f84c67"
end
if OS.linux? && Hardware::CPU.arm? && !Hardware::CPU.is_64_bit?
url "https://github.com/caarlos0/test/releases/download/v0.1.3/test_Arm6.tar.gz"
sha256 "1633f61598ab0791e213135923624eb342196b3494909c91899bcd0560f84c67"
end
if OS.linux? && Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/caarlos0/test/releases/download/v0.1.3/test_Arm64.tar.gz"
sha256 "1633f61598ab0791e213135923624eb342196b3494909c91899bcd0560f84c67"
end
2018-04-03 21:13:17 -03:00
devel do
url "https://github.com/caarlos0/test/releases/download/v0.1.3/test_Darwin_x86_64.tar.gz"
sha256 "1633f61598ab0791e213135923624eb342196b3494909c91899bcd0560f84c68"
end
2017-07-16 15:06:32 -03:00
depends_on "gtk+"
2017-07-16 15:06:32 -03:00
conflicts_with "svn"
def install
custom install script
another install script
end
def post_install
system "touch", "/tmp/foo"
end
def caveats; <<~EOS
Here are some caveats
EOS
2017-07-16 15:06:32 -03:00
end
plist_options :startup => false
def plist; <<~EOS
2017-07-16 15:06:32 -03:00
it works
EOS
2017-07-16 15:06:32 -03:00
end
test do
system "#{bin}/foo -version"
end
end