2017-07-16 16:02:26 -03:00
|
|
|
class RunPipe < Formula
|
|
|
|
desc "A run pipe test formula"
|
|
|
|
homepage "https://github.com/goreleaser"
|
2017-09-26 19:00:24 -03:00
|
|
|
url "https://github.com/test/test/releases/download/v1.0.1/bin.tar.gz"
|
2017-07-16 16:02:26 -03:00
|
|
|
version "1.0.1"
|
|
|
|
sha256 "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
2017-11-13 17:49:45 -02:00
|
|
|
|
2017-07-16 16:02:26 -03:00
|
|
|
depends_on "zsh"
|
2017-11-13 17:49:45 -02:00
|
|
|
depends_on "bash"
|
|
|
|
|
2017-07-16 16:02:26 -03:00
|
|
|
conflicts_with "gtk+"
|
2017-11-13 17:49:45 -02:00
|
|
|
conflicts_with "qt"
|
2017-07-16 16:02:26 -03:00
|
|
|
|
|
|
|
def install
|
|
|
|
bin.install "foo"
|
|
|
|
end
|
|
|
|
|
|
|
|
def caveats
|
|
|
|
"don't do this"
|
|
|
|
end
|
|
|
|
|
|
|
|
plist_options :startup => false
|
|
|
|
|
|
|
|
def plist; <<-EOS.undent
|
|
|
|
<xml>whatever</xml>
|
|
|
|
EOS
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "true"
|
|
|
|
system "#{bin}/foo -h"
|
|
|
|
end
|
|
|
|
end
|