зеркало из https://github.com/mozilla/gecko-dev.git
22 строки
559 B
Ruby
22 строки
559 B
Ruby
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
class ServoBin < Formula
|
|
desc "Servo, the Parallel Browser Engine Project (binary version)"
|
|
homepage "http://servo.org"
|
|
url "PACKAGEURL"
|
|
version "VERSION"
|
|
sha256 "SHA"
|
|
|
|
bottle :unneeded
|
|
|
|
def install
|
|
prefix.install "bin", "libexec", "resources"
|
|
end
|
|
|
|
test do
|
|
system bin/"servo", "-o", "/dev/null", "-x", "http://example.com"
|
|
end
|
|
end
|