homebrew-core/Formula/geckodriver.rb
2017-10-31 23:26:19 -04:00

24 lines
797 B
Ruby

class Geckodriver < Formula
desc "WebDriver <-> Marionette proxy"
homepage "https://github.com/mozilla/geckodriver"
url "https://github.com/mozilla/geckodriver/archive/v0.19.1.tar.gz"
sha256 "f590ddfef42995a23e781b52befdbc2ac342bf829008e98d212f2e1e15d9f713"
bottle do
sha256 "469b6c642b0029195c94eacf68cc4b8d90a51fcd39f1c6eee7a38b74face0f35" => :high_sierra
sha256 "fe98e37bfc14be0a4acf84ced1149ad410684c9235060f2560d256b0cf4e4bbe" => :sierra
sha256 "368b38b2b40cced77457a3fa47369f6668549df2fe84fd80c6926964ea55dcbc" => :el_capitan
end
depends_on "rust" => :build
def install
system "cargo", "build"
bin.install "target/debug/geckodriver"
bin.install_symlink bin/"geckodriver" => "wires"
end
test do
system bin/"geckodriver", "--help"
end
end