95884bae22
Closes Homebrew/homebrew#42407. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
26 lines
750 B
Ruby
26 lines
750 B
Ruby
class Ngrok < Formula
|
|
desc "Expose localhost to the internet and capture traffic for replay"
|
|
homepage "https://ngrok.com"
|
|
head "https://github.com/inconshreveable/ngrok.git"
|
|
url "https://github.com/inconshreveable/ngrok/archive/1.7.tar.gz"
|
|
sha256 "da9a063bc2f2cd6f14018c4e00304225d949fe42d525ed40d9be8f35daf4c23c"
|
|
|
|
bottle do
|
|
sha1 "71920267073415ccc1ea1305bac6ce51e00d4833" => :mavericks
|
|
sha1 "e0a622225d38ee57652b84eaffbca95ab43c3ce2" => :mountain_lion
|
|
sha1 "60b7a16a28265e6e9a9adbac44b3c5069a802d34" => :lion
|
|
end
|
|
|
|
depends_on "go" => :build
|
|
depends_on :hg => :build
|
|
|
|
def install
|
|
ENV.j1
|
|
system "make", "release-client"
|
|
bin.install "bin/ngrok"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/ngrok", "version"
|
|
end
|
|
end
|