2019-01-27 20:37:32 +02:00
|
|
|
# This file was generated by GoReleaser. DO NOT EDIT.
|
2018-11-21 17:57:44 +02:00
|
|
|
require_relative "custom_download_strategy"
|
|
|
|
class CustomRequire < Formula
|
|
|
|
desc "A run pipe test formula"
|
|
|
|
homepage "https://github.com/goreleaser"
|
|
|
|
url "https://github.com/test/test/releases/download/v1.0.1/bin.tar.gz", :using => CustomDownloadStrategy
|
|
|
|
version "1.0.1"
|
|
|
|
sha256 "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
|
|
|
|
|
|
|
depends_on "zsh"
|
|
|
|
depends_on "bash"
|
|
|
|
|
|
|
|
conflicts_with "gtk+"
|
|
|
|
conflicts_with "qt"
|
|
|
|
|
|
|
|
def install
|
|
|
|
bin.install "foo"
|
|
|
|
end
|
|
|
|
|
|
|
|
def caveats; <<~EOS
|
|
|
|
don't do this
|
|
|
|
EOS
|
|
|
|
end
|
|
|
|
|
|
|
|
plist_options :startup => false
|
|
|
|
|
|
|
|
def plist; <<~EOS
|
|
|
|
<xml>whatever</xml>
|
|
|
|
EOS
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "true"
|
|
|
|
system "#{bin}/foo -h"
|
|
|
|
end
|
|
|
|
end
|