mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
brew package
This commit is contained in:
parent
fab2ab8b9e
commit
79812971f1
5 changed files with 145 additions and 23 deletions
21
etc/ci/servo-binary-formula.rb.in
Normal file
21
etc/ci/servo-binary-formula.rb.in
Normal file
|
@ -0,0 +1,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 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
|
Loading…
Add table
Add a link
Reference in a new issue