2015-02-16 10:41:07 +00:00
|
|
|
class Browser < Formula
|
|
|
|
url "https://gist.github.com/defunkt/318247/raw/7720fc969d58a9bfdc74d71deaa15c1eb7582fc1/browser",
|
|
|
|
:using => :nounzip
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Pipe HTML to a browser"
|
2015-02-16 10:41:07 +00:00
|
|
|
homepage "https://gist.github.com/318247/"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "273343d6cf9ed543ccea47b85a2ad2ef2afe7b7a2b956f2e7a24ce0175326dcc"
|
2015-02-16 10:41:07 +00:00
|
|
|
# This the gist revision number
|
|
|
|
version "7"
|
2010-04-26 15:48:18 +00:00
|
|
|
|
2015-02-16 10:41:07 +00:00
|
|
|
def install
|
|
|
|
bin.install "browser"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
ENV["TERM"] = "xterm"
|
|
|
|
system "#{bin}/browser"
|
|
|
|
end
|
2010-04-26 15:48:18 +00:00
|
|
|
end
|