aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/servo-binary-formula.rb.in
blob: 7c0254c9ebb20f86eddf831705409ba88a24f659 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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 https://mozilla.org/MPL/2.0/.

class ServoBin < Formula
  desc "Servo, the Parallel Browser Engine Project (binary version)"
  homepage "https://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